1 It happened, when Solomon had finished the building of the house of Yahweh, and the king's house, and all Solomon's desire which he was pleased to do,
2 that Yahweh appeared to Solomon the second time, as he had appeared to him at Gibeon.
3 Yahweh 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, according as I promised to David your father, saying, There shall not fail you a man on the throne of Israel.