1 When Solomon had finished building the house of the Lord and the king’s house and all else he desired,
2 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 supplication, which you made before Me. I have consecrated this house which you built by putting My name there forever. And My eyes and My heart shall be there perpetually.
4 “If you will walk before Me, as your father David walked, in integrity of heart and uprightness, so that you are obedient to do all that I have commanded you, and will keep My statutes and My judgments,
5 then I will establish the throne of your kingdom upon Israel forever, just as I promised to your father David, saying, ‘You shall not fail to have a man upon the throne of Israel.’
6 “But if you and your sons turn in any way from following Me and do not keep My commandments and My statutes which I have set before you, but go and serve other gods and worship them,