1 When Solomon had finished building the temple of the Lord and the royal palace, and had achieved all he had desired to do,
2 the Lord appeared to him a second time, as he had appeared to him at Gibeon.
3 The Lord said to him:‘I have heard the prayer and plea you have made before me; I have consecrated this temple, which you have built, by putting my Name there for ever. My eyes and my heart will always be there.
4 ‘As for you, if you walk before me faithfully with integrity of heart and uprightness, as David your father did, and do all I command and observe my decrees and laws,
5 I will establish your royal throne over Israel for ever, as I promised David your father when I said, “You shall never fail to have a successor on the throne of Israel.”
6 ‘But if you or your descendants turn away from me and do not observe the commands and decrees I have given you and go off to serve other gods and worship them,
7 then I will cut off Israel from the land I have given them and will reject this temple I have consecrated for my Name. Israel will then become a byword and an object of ridicule among all peoples.