1 So Solomon finished building the Temple of the lord, as well as the royal palace. He completed everything he had planned to do.
2 Then the lord appeared to Solomon a second time, as he had done before at Gibeon.
3 The lord said to him,“I have heard your prayer and your petition. I have set this Temple apart to be holy—this place you have built where my name will be honored forever. I will always watch over it, for it is dear to my heart.
4 “As for you, if you will follow me with integrity and godliness, as David your father did, obeying all my commands, decrees, and regulations,
5 then I will establish the throne of your dynasty over Israel forever. For I made this promise to your father, David: ‘One of your descendants will always sit on the throne of Israel.’
6 “But if you or your descendants abandon me and disobey the commands and decrees I have given you, and if you serve and worship other gods,
7 then I will uproot Israel from this land that I have given them. I will reject this Temple that I have made holy to honor my name. I will make Israel an object of mockery and ridicule among the nations.