As for you, if you walk before me as David your father did, wholeheartedly and uprightly, doing all that I have commanded you, keeping my statutes and ordinances,
If, then, you heed all that I command you, walking in my ways, and do what is right in my eyes by keeping my statutes and my commandments like David my servant, I will be with you. I will build a lasting house for you, just as I did for David; I will give Israel to you.
When Solomon was old his wives had turned his heart to follow other gods, and his heart was not entirely with the Lord, his God, as the heart of David his father had been.
I tore the kingdom away from the house of David and gave it to you. Yet you have not been like my servant David, who kept my commandments and followed me with his whole heart, doing only what is right in my sight.
because David had done what was right in the sight of the Lord and did not disobey any of his commands as long as he lived, except in the case of Uriah the Hittite.
Solomon answered: “You have shown great kindness to your servant, David my father, because he walked before you with fidelity, justice, and an upright heart; and you have continued this great kindness toward him today, giving him a son to sit upon his throne.
As to this house you are building—if you walk in my statutes, carry out my ordinances, and observe all my commands, walking in them, I will fulfill toward you my word which I spoke to David your father.
And now, Lord, God of Israel, keep toward your servant, David my father, what you promised: There shall never be wanting someone from your line to sit before me on the throne of Israel, provided that your descendants keep to their way, walking before me as you have.
“Ah, Lord, remember how faithfully and wholeheartedly I conducted myself in your presence, doing what was good in your sight!” And Hezekiah wept bitterly.
“Thus says the Lord of hosts: If you walk in my ways and carry out my charge, you will administer my house and watch over my courts; and I will give you access to those standing here.” Supplementary Oracle.
Now, if you diligently obey the voice of the Lord, your God, carefully observing all his commandments which I give you today, the Lord, your God, will set you high above all the nations of the earth.