2 Kings 22:2 in the King James Version
And he did that which was right in the sight of the LORD, and walked in all the way of David his father, and turned not aside to the right hand or to the left.
Context
1 Josiah was eight years old when he began to reign, and he reigned thirty-one years in Jerusalem. His mother’s name was Jedidah the daughter of Adaiah of Bozkath.
2 He did that which was right in the LORD’s eyes, and walked in all the ways of David his father, and didn’t turn away to the right hand or to the left.
3 In the eighteenth year of King Josiah, the king sent Shaphan, the son of Azaliah the son of Meshullam, the scribe, to the LORD’s house, saying,