When Solomon finished building the temple of the Lord, the royal palace, and all that Solomon desired to do,
References for 1 Kings 9:1
the Lord appeared to Solomon a second time just as He had appeared to him at Gibeon.
References for 1 Kings 9:2
The Lord said to him: I have heard your prayer and petition you have made before Me. I have consecrated this temple you have built, to put My name there forever; My eyes and My heart will be there at all times.
As for you, if you walk before Me as your father David walked, with integrity of heart and uprightness, doing everything I have commanded you, and if you keep My statutes and ordinances,
I will establish your royal throne over Israel forever, as I promised your father David: You will never fail to have a man on the throne of Israel.
If you or your sons turn away from following Me and do not keep My commands-My statutes that I have set before you-and if you go and serve other gods and worship them,
I will cut off Israel from the land I gave them, and I will reject the temple I have sanctified for My name. Israel will become an object of scorn and ridicule among all the peoples.
References for 1 Kings 9:7
Though this temple is [now] exalted, every passerby will be appalled and will hiss. They will say: Why did the Lord do this to this land and this temple?
References for 1 Kings 9:8
Then they will say: Because they abandoned the Lord their God who brought their ancestors out of the land of Egypt. They clung to other gods and worshiped and served them. Because of this, the Lord brought all this ruin on them.
References for 1 Kings 9:9