.... "While they were bringing out the money that had been taken into the temple of the LORD, Hilkiah the priest found the Book of the Law of the LORD that had been given through Moses. Hilkiah said to Shaphan the secretary, "I have found the Book of the Law in the temple of the LORD." He gave it to Shaphan.
Then Shaphan took the book to the king and reported to him. He said: 'Your officials are doing everything that has been committed to them. They have paid out the money that was in the temple of the LORD and have entrusted it to the supervisors and workers. Then Shaphan the secretery informed the king, "Hilkiah the priest has given me a book." And Shaphan read from it in the presence of the king.
When the king heard the words of the Law, he tore his robe. He gave these orders to Hilkiah, Ahikam son of Shaphan, Abdon son of Micah, Shaphan the secretary and Asaiah the king's attendant: "Go and inquire of the LORD for me and for the remnant of Israel and Judah about what is written in this book that has been found. Great is the LORD's anger that is poured out on us because our fathers have not kept the words of the LORD; they have not acted in accordance with what is written in this book."
Hilkiah and those the king had sent with him went to speak to the prophetess Huldah, who was the wife of Shallum son of Tokhath, the son of Hasrah, keeper of the wardrobe. She lived in Jerusalem, in the Second District. She said to them, "This is what the LORD, the God of Israel, says: Tell the men who sent you to me, this is what the LORD says: I am going to bring disaster on this place and its people -- all the curses written in the book that has been read in the presence of the king of Judah. Because they have forsaken me and burned incense to other gods and provoked me to anger by all that their hands have made, my anger will be poured out on this place and will not be quenched. Tell the king of Judah, who sent you to inquire of the LORD, 'This is what the LORD, the God of Israel, says concerning the words you have heard: Because your heart was responsive and you humbled yourself before God when you heard what he spoke against this place and its people, and because you humbled yourself before me and tore your robes and wept in my presence, I have heard you, declares the LORD. Now I will gather you to your fathers, and you will be buried in peace. Your eyes will not see all the disaster I am going to bring on this place and on those who live here."
So they took their answer back to the king.
then the king called together all the elders of Judah and Jerusalem. He went up to the temple of the LORD with the men of Judah, the people of Jerusalem, the priests and the Levites -- all the people from the least to the greatest. He read in their hearing all the words of the Book of the Covenant, which had been found in the Temple of the LORD. The king stood by his pillar and renewed the covenant in the presence of the LORD -- to follow the LORD and keep his commands, regulations and decrees with all his heart and all his soul, and to obey the words of the covenant written in this book.
Then he had everyone in jerusalem and Benjamin pledge themselves to it; the people of Jerusalem did this in accordance with the covenant of God, the God of their fathers. Josiah removed all the detestable idols from all the territory belonging to the Israelites, and he had all who were present in Israel serve the LORD their God. As long as he lived, they did not fail to follow the LORD, the God of their fathers.