2 Kings 22:2

2 He did what was pleasing in the LORD ’s sight and followed the example of his ancestor David. He did not turn away from doing what was right.

2 Kings 22:2 In-Context

1 Josiah was eight years old when he became king, and he reigned in Jerusalem thirty-one years. His mother was Jedidah, the daughter of Adaiah from Bozkath.
2 He did what was pleasing in the LORD ’s sight and followed the example of his ancestor David. He did not turn away from doing what was right.
3 In the eighteenth year of his reign, King Josiah sent Shaphan son of Azaliah and grandson of Meshullam, the court secretary, to the Temple of the LORD . He told him,
4 “Go to Hilkiah the high priest and have him count the money the gatekeepers have collected from the people at the LORD ’s Temple.
5 Entrust this money to the men assigned to supervise the restoration of the LORD ’s Temple. Then they can use it to pay workers to repair the Temple.
Holy Bible. New Living Translation copyright© 1996, 2004, 2007, 2013 by Tyndale House Foundation. Used by permission of Tyndale House Publishers Inc., Carol Stream, Illinois 60188. All rights reserved.