David had always done what the Lord said was right. He had always obeyed his commands. The only time David did not obey the Lord was when he sinned against Uriah the Hittite.
If you live right and obey all my commands as David did, I will be with you and make your family a family of kings, just as I did for David. And you will have Israel as your kingdom.
You must do what is right and good—what pleases the Lord. Then everything will go well for you, and you can go in and take the good land that the Lord promised your ancestors.
He said to him, “I am the Lord your God. If you listen to me and do what I say is right, and if you obey all my commands and laws, then I will not give you any of the sicknesses that I gave the Egyptians. I am the Lord who heals you.”
“Now, Israelites, listen! What does the Lord your God really want from you? The Lord your God wants you to respect him and do what he says. He wants you to love him and to serve the Lord your God with all your heart and with all your soul.
Amaziah did what the Lord said was right, but he did not follow God completely like David his ancestor. Amaziah did everything that Joash his father had done.