1 When Solomon had finished the building of the Lord’s house, the king’s house, and all Solomon’s desire which he was pleased to do,
2 the Lord appeared to Solomon the second time, as he had appeared to him at Gibeon.
3 The Lord said to him, “I have heard your prayer and your supplication, that you have made before me. I have made this house holy, which you have built, to put my name there forever; and my eyes and my heart shall be there perpetually.
4 As for you, if you will walk before me, as David your father walked, in integrity of heart, and in uprightness, to do according to all that I have commanded you, and will keep my statutes and my ordinances;
5 then I will establish the throne of your kingdom over Israel forever, as I promised to David your father, saying, ‘There shall not fail from you a man on the throne of Israel.’
6 But if you turn away from following me, you or your children, and not keep my commandments and my statutes which I have set before you, but go and serve other gods, and worship them;
7 then I will cut off Israel out of the land which I have given them; and I will cast this house, which I have made holy for my name, out of my sight; and Israel will be a proverb and a byword amongst all peoples.