Josiah becomes king at eight and reigns thirty-one years in Jerusalem. His mother is Jedidah. He does what is right in the sight of the Lord, walking in the way of David his father, turning aside neither to the right nor to the left.
In the eighteenth year of his reign, Josiah sends the scribe Shaphan to the house of the Lord to tell the high priest Hilkiah to count the money the doorkeepers have collected and give it to the workmen to repair the temple: carpenters, builders and masons, who also buy timber and stone. No accounting is asked of them, because they deal faithfully.
Then Hilkiah tells Shaphan that he has found the book of the law in the house of the Lord, and gives it to him. Shaphan reads it, reports to the king about the money and tells him that Hilkiah has given him a book, and reads it before the king. When the king hears the words of the book of the law, he tears his clothes. He orders Hilkiah, Ahikam, Achbor, Shaphan and Asaiah to inquire of the Lord for him, for the people and for all Judah, for great is the wrath of the Lord against them, because their fathers have not obeyed the words of this book.
They go to Huldah the prophetess, wife of Shallum, who lives in Jerusalem in the Second Quarter. She answers that the Lord will bring disaster on this place and its inhabitants, according to all the words of the book, because they have forsaken him and burned incense to other gods, and his wrath will be kindled and not quenched. But to the king who sent them she says that, because his heart was tender, he humbled himself before the Lord, tore his clothes and wept, the Lord has heard him. He will be gathered to his fathers in peace, and his eyes will not see all the disaster the Lord will bring on this place. They take the answer back to the king.