Josiah became the king of Judah in 640 BC. Like Joash (2 Kings 11:21), he was still a child when he became king. He was loyal to the Lord, much like David, Asa (1 Kings 15:11), and Hezekiah (2 Kings 18:3).
did what was right: Josiah's actions followed the high standards of the law (Deuteronomy 17:11; 28:14).