1 Kings 9:1-9New International Version - UK (NIVUK)
The Lord appears to Solomon
9 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[a] or your descendants turn away from me and do not observe the commands and decrees I have given you[b] 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. 8 This temple will become a heap of rubble. All[c] who pass by will be appalled and will scoff and say, “Why has the Lord done such a thing to this land and to this temple?” 9 People will answer, “Because they have forsaken the Lord their God, who brought their ancestors out of Egypt, and have embraced other gods, worshipping and serving them – that is why the Lord brought all this disaster on them.”’