And Ahab the son of Omri did evil in the sight of the Lord, more than all who were before him. (1 Kings 16:30 ESV)
Josiah was eight years old when he began to reign, and he reigned thirty-one years in Jerusalem. And he did what was right in the eyes of the LORD, and walked in the ways of David his father; and he did not turn aside to the right hand or to the left. (2 Chronicles 34:1-2 ESV)
Reading the books of Kings and Chronicles, we see quickly that there were bad kings and good kings. When we look deeper, we see that there were bad kings and kings worse than them as well as good kings and excellent kings.
There were bad kings who knew that God was God, but “worshipped” Him as they wanted, making idols and altars, creating pagan places of worship. Then, there were those who worshipped Baal and other false gods. There were good kings who did not do everything God would have wanted them to and kings after God’s own heart who followed David’s example. And there were good kings who became evil and an evil king who repented.
Every human being belongs to one of those categories. If you don’t think that you are a Christian after God’s own heart, today is your opportunity to repent. There is always room for repentance in God’s kingdom, always an opportunity to become like Josiah.
Before him there was no king like him , who turned to the LORD with all his heart and with all his soul and with all his might, according to all the Law of Moses, nor did any like him arise after him. (2 Kings 23:25 ESV)