It shall be, if you will listen to all that I command you and will walk in My ways and do what is right in My sight to keep My statutes and My commandments, as David My servant did, I will be with you and build you a sure house, as I built for David, and will give Israel to you.
For when Solomon was old, his wives turned his heart away after other gods, and his heart was not perfect with the Lord his God as the heart of David his father had been.
because David did that which was right in the eyes of the Lord and did not turn aside from anything that He commanded him all the days of his life, except in the matter involving Uriah the Hittite.
“Please, O Lord, remember how I have walked before You faithfully and with an undivided heart and have done what is good in Your sight.” And Hezekiah wept bitterly.
He said, “If you diligently listen to the voice of the Lord your God, and do what is right in His sight, and give ear to His commandments, and keep all His statutes, I will not afflict you with any of the diseases with which I have afflicted the Egyptians. For I am the Lord who heals you.”
and said, “Remember now, O Lord, I beseech You, how I have walked before You in truth and with a perfect heart, and have done what is good in Your sight.” And Hezekiah wept bitterly.
Now, Israel, what does the Lord your God require of you, but to fear the Lord your God, to walk in all His ways, and to love Him, and to serve the Lord your God with all your heart and with all your soul,
You shall do what is right and good in the sight of the Lord that it may be well with you and that you may go in and possess the good land which the Lord swore to your fathers,