I love reading the books of Kings and Chronicles in the Old Testament. I like how a decisive summary is almost always given at the beginning of each king's record of whether he served God or did evil. It says something like, "David did that which was right in the eyes of the LORD... all the days of his life...."
Joash was only seven years old when he became king, and a wonderful priest named Jehoiada came along side him and taught him God's ways. Jehoiada's influence was great on him, and Joash loved him and did what he was supposed to, in order to please Jehoiada.
Eventually, however, Jehoiada died, and the reality of Joash's walk with God (or lack thereof) was revealed. Evil men came in and flattered Joash, and he listened to them. This resulted in idolatry, God's judgment, a conspiracy, and the assassination of Joash. What a terrible ending for a King who seemingly started out so right!
Here's the thing - Joash only served God for Jehoiada's sake. Do you have a PERSONAL walk with God, having PERSONALLY received the Lord as your Saviour? Or are you trying to do good for the sake of your parents, your preacher, tradition, or convenience?
Matthew 7:21-23, "Not every one that saith unto me, Lord, Lord, shall enter into the kingdom of heaven; but he that doeth the will of my Father which is in heaven. (22) Many will say to me in that day, Lord, Lord, have we not prophesied in thy name? and in thy name have cast out devils? and in thy name done many wonderful works? (23) And then will I profess unto them, I never knew you: depart from me, ye that work iniquity."