1 Now it came to pass, when Solomon had finished building the House of Adonai, the royal palace and all that Solomon was pleased to do,
2 that Adonai appeared to Solomon a second time, just as He had appeared to him at Gibeon.
3 Adonai said to him: “I have heard your prayer and your petition that you made before Me. I have consecrated this House, which you have built, to put My Name there forever, and My eyes and My heart will be there every day.
4 “As for you, if you will walk before Me as your father David walked—in integrity of heart and uprightness, doing all I commanded you, keeping My statutes and My ordinances—
5 then I will establish the throne of your kingship over Israel forever, as I promised your father David saying: ‘You shall not lack a man on the throne of Israel.’
6 “But if you or your sons will indeed turn away from following Me—not keeping My mitzvot and My statutes that I set before you—and go and serve other gods and worship them,