When Solomon finished the temple, the palace and all he had desired to build, the Lord appeared to him a second time, as he had at Gibeon. He told him he had heard his prayer, that he had consecrated the house to put his name there forever, and that his eyes and heart would be there always. If Solomon walked before him in integrity of heart, as David had, his throne over Israel would be established forever.
But the Lord added a warning: if Solomon or his sons turned away and served other gods, God would cut Israel off from the land and cast the consecrated house out of his sight. The temple itself would become a heap of ruins, and passersby would ask why the Lord had done such a thing, and the answer would be that they abandoned the Lord their God and served other gods.
After the twenty years of building, Solomon gave Hiram twenty cities in the land of Galilee; Hiram looked at them and was not pleased. Solomon drafted forced labor from the peoples remaining in the land for his projects, but he did not make slaves of the Israelites, who served as soldiers and officers. Gezer, which Pharaoh had captured, he gave to his daughter as a dowry. Pharaoh's daughter moved into her own house. Three times a year Solomon offered sacrifices on the altar. At Ezion-geber, by the Red Sea, he built a fleet with sailors sent by Hiram, who brought four hundred twenty talents of gold from Ophir.