1 It happened that as Solomon finished the building of the house of Yahweh, the king’s house, and all the things Solomon desired to do,
2 Yahweh appeared to Solomon a second time, as he had appeared to him in Gibeon.
3 Yahweh said to him, “I have heard your prayer and your plea which you have made before me. I have consecrated this house which you have built, by putting my name there forever. My eyes and my heart will always be there.
4 As for you, if you walk before me as David your father walked, with integrity of heart and with uprightness, to do according to all that I have commanded you, and if you keep my ordinances and my judgments,
5 then I will establish the throne of your kingdom over Israel forever, as I promised David your father, saying, ‘A man will not be cut off for you from upon the throne of Israel.’
6 “If ever you or any of your descendants turn from following me and do not keep my commandments and my ordinances that I have set before you and you go and serve other gods and bow down to them,