1 As soon as Solomon had finished building the house of the Lord and the king’s house and all that Solomon desired to build,
2 the Lord appeared to Solomon a second time, as he had appeared to him at Gibeon.
3 And the Lord said to him, “I have heard your prayer and your plea, which you have made before me. I have consecrated this house that you have built, by putting my name there forever. My eyes and my heart will be there for all time.
4 And as for you, if you will walk before me, as David your father walked, with integrity of heart and uprightness, doing according to all that I have commanded you, and keeping my statutes and my rules,
5 then I will establish your royal throne over Israel forever, as I promised David your father, saying, ‘You shall not lack a man on the throne of Israel.’
6 But if you turn aside from following me, you or your children, and do not keep my commandments and my statutes that I have set before you, but go and serve other gods and worship them,