Josiah was eight years old when he became king, and he reigned in Jerusalem thirty-one years.
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.
During the eighth year of his reign, while he was still young, Josiah began to seek the God of his ancestor David. Then in the twelfth year, he began to purify Judah and Jerusalem, destroying all the pagan shrines, the Asherah poles, and the carved idols and cast images.
He saw to it that the altars for the images of Baal and their incense altars were torn down. He also made sure that the Asherah poles, the carved idols, and the cast images were smashed and scattered over the graves of those who had sacrificed to them.
Then he burned the bones of the pagan priests on their own altars, and so he purified Judah and Jerusalem.
He did the same thing in the towns of Manasseh, Ephraim, and Simeon, even as far as Naphtali.
He destroyed the pagan altars and the Asherah poles, and he crushed the idols into dust. He cut down the incense altars throughout the land of Israel and then returned to Jerusalem.
In the eighteenth year of his reign, after he had purified the land and the Temple, Josiah appointed Shaphan son of Azaliah, Maaseiah the governor of Jerusalem, and Joah son of Joahaz, the royal historian, to repair the Temple of the LORD his God.
They gave Hilkiah the high priest the money that had been collected by the Levites who served as gatekeepers at the Temple of God. The gifts were brought by people from Manasseh, Ephraim, and from all the remnant of Israel, as well as from all Judah, Benjamin, and the people of Jerusalem.
He entrusted the money to the men assigned to supervise the restoration of the LORD's Temple. Then they paid the workers who did the repairs and renovation.
Thus, they hired carpenters and masons and purchased cut stone for the walls and timber for the rafters and beams. They restored what earlier kings of Judah had allowed to fall into ruin.
The workers served faithfully under the leadership of Jahath and Obadiah, Levites of the Merarite clan, and Zechariah and Meshullam, Levites of the Kohathite clan. Other Levites, all of whom were skilled musicians,
were put in charge of the laborers of the various trades. Still others assisted as secretaries, officials, and gatekeepers.
As Hilkiah the high priest was recording the money collected at the LORD's Temple, he found the Book of the Law of the LORD as it had been given through Moses.
Hilkiah 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.
Shaphan took the scroll to the king and reported, "Your officials are doing everything they were assigned to do.
The money that was collected at the Temple of the LORD has been given to the supervisors and workmen."
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 law, he tore his clothes in despair.
Then he gave these orders to Hilkiah, Ahikam son of Shaphan, Acbor son of Micaiah, Shaphan the court secretary, and Asaiah the king's personal adviser:
References for 2 Chronicles 34:20
"Go to the Temple and speak to the LORD for me and for all the remnant of Israel and Judah. Ask him about the words written in this scroll that has been found. The LORD's anger has been poured out against us because our ancestors have not obeyed the word of the LORD. We have not been doing what this scroll says we must do."
So Hilkiah and the other men 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 Chronicles 34:22
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 certainly destroy this city and its people. All the curses written in the scroll you have read will come true.
For the people of Judah have abandoned me and worshiped pagan gods, and I am very angry with them for everything they have done. My anger will be poured out against this place, and nothing will be able to stop it.'"
"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 God when you heard what I said against this city and its people. You humbled yourself and 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 and its people 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.
Then the king summoned all the leaders of Judah and Jerusalem.
And the king went up to the Temple of the LORD with all the people of Judah and Jerusalem and the priests and the Levites -- all the people from the greatest to the least. There the king read to them the entire Book of the Covenant that had been found in the LORD's Temple.
The king took his place of authority beside the pillar and renewed the covenant in the LORD's presence. He pledged to obey the LORD by keeping all his commands, regulations, and laws with all his heart and soul. He promised to obey all the terms of the covenant that were written in the scroll.
And he required everyone in Jerusalem and the people of Benjamin to make a similar pledge. As the people of Jerusalem did this, they renewed their covenant with God, the God of their ancestors.
So Josiah removed all detestable idols from the entire land of Israel and required everyone to worship the LORD their God. And throughout the rest of his lifetime, they did not turn away from the LORD, the God of their ancestors.