1 Now it came about when Solomon had finished building the house of the Lord, and the king's house, and all that Solomon desired to do,
2 that the Lord appeared to Solomon a second time, as He had appeared to him at Gibeon.
3 The Lord said to him, "I have heard your prayer and your supplication, which you have made before Me; I have consecrated this house which you have built by putting My name there forever, and My eyes and My heart will be there perpetually.
4 As for you, if you will walk before Me as your father David walked, in integrity of heart and uprightness, doing 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, just as I promised to your father David, saying, 'You shall not lack a man on the throne of Israel.'
6 "But if you or your sons indeed turn away from following Me, and do not keep My commandments and My statutes which I have set before you, and go and serve other gods and worship them,