1 And it came to pass when Solomon had finished the building of the house of the LORD, and the king's house, and all Solomon's desire which he was pleased to do,
2 that the LORD appeared to Solomon the second time, as he had appeared unto him at Gibeon.
3 And the LORD said unto him, I have heard thy prayer and thy supplication, that thou hast made before me: I have hallowed this house, which thou hast built, to put my name there for ever; and mine eyes and mine heart shall be there perpetually.
4 And as for thee, if thou wilt walk before me, as David thy father walked, in integrity of heart, and in uprightness, to do according to all that I have commanded thee, and wilt keep my statutes and my judgments;
5 then I will establish the throne of thy kingdom over Israel for ever; according as I promised to David thy father, saying, There shall not fail thee a man upon the throne of Israel.