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.
He did what was pleasing in the LORD's sight and followed the example of his ancestor David. He did not turn aside from doing what was right.
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,
"Go up to Hilkiah the high priest and have him count the money the gatekeepers have collected from the people at the LORD's Temple.
Entrust this money to the men assigned to supervise the Temple's restoration. Then they can use it to pay workers to repair the Temple of the LORD.
They will need to hire carpenters, builders, and masons. Also have them buy the timber and the cut stone needed to repair the Temple.
But there will be no need for the construction supervisors to keep account of the money they receive, for they are honest people."
Hilkiah the high priest said to Shaphan the court secretary, "I have found the Book of the Law in the LORD's Temple!" Then Hilkiah gave the scroll to Shaphan, and he read it.
Shaphan returned to the king and reported, "Your officials have given the money collected at the Temple of the LORD to the workers and supervisors at the Temple."
Shaphan also said to the king, "Hilkiah the priest has given me a scroll." So Shaphan read it to the king.
When the king heard what was written in the Book of the Law, he tore his clothes in despair.
Then he gave these orders to Hilkiah the priest, Ahikam son of Shaphan, Acbor son of Micaiah, Shaphan the court secretary, and Asaiah the king's personal adviser:
"Go to the Temple and speak to the LORD for me and for the people and for all Judah. Ask him about the words written in this scroll that has been found. The LORD's anger is burning against us because our ancestors have not obeyed the words in this scroll. We have not been doing what this scroll says we must do."
So Hilkiah the priest, Ahikam, Acbor, Shaphan, and Asaiah went to the newer Mishneh section of Jerusalem to consult with the prophet Huldah. She was the wife of Shallum son of Tikvah and grandson of Harhas, the keeper of the Temple wardrobe.
References for 2 Kings 22:14
She said to them, "The LORD, the God of Israel, has spoken! Go and tell the man who sent you,
'This is what the LORD says: I will destroy this city and its people, just as I stated in the scroll you read.
For my people have abandoned me and worshiped pagan gods, and I am very angry with them for everything they have done. My anger is burning against this place, and it will not be quenched.'"
"But go to the king of Judah who sent you to seek the LORD and tell him: 'This is what the LORD, the God of Israel, says concerning the message you have just heard:
You were sorry and humbled yourself before the LORD when you heard what I said against this city and its people, that this land would be cursed and become desolate. You tore your clothing in despair and wept before me in repentance. So I have indeed heard you, says the LORD.
I will not send the promised disaster against this city until after you have died and been buried in peace. You will not see the disaster I am going to bring on this place.'" So they took her message back to the king.