Read Kings 5 today.

This chapter includes some of the details about Solomon’s alliance with King Hiram of Tyre. Without this alliance, Solomon would not have been able to build the temple or his palace.
(I once read a quote that said leaders are always doing one of two things: constructing buildings/monuments or fighting wars. David fought wars. Solomon was building.)
1 Kings 5:1, 10-12 NLT
King Hiram of Tyre had always been a loyal friend of David. When Hiram learned that David’s son Solomon was the new king of Israel, he sent ambassadors to congratulate him.
[10] So Hiram supplied as much cedar and cypress timber as Solomon desired. [11] In return, Solomon sent him an annual payment of 100,000 bushels of wheat for his household and 110,000 gallons of pure olive oil. [12] So the LORD gave wisdom to Solomon, just as he had promised. And Hiram and Solomon made a formal alliance of peace.