14 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.
15 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.
16 Then Shaphan took the book to the king and reported to him: “Your officials are doing everything that has been committed to them.
17 They have paid out the money that was in the temple of the LORD and have entrusted it to the supervisors and workers.”
18 Then Shaphan the secretary informed the king, “Hilkiah the priest has given me a book.” And Shaphan read from it in the presence of the king.
19 When the king heard the words of the Law, he tore his robes.
20 He gave these orders to Hilkiah, Ahikam son of Shaphan, Abdon son of Micah, Shaphan the secretary and Asaiah the king’s attendant:
21 “Go and inquire of the LORD for me and for the remnant in 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 those who have gone before us have not kept the word of the LORD; they have not acted in accordance with all that is written in this book.”
22 Hilkiah and those the king had sent with him went to speak to the prophet Huldah, who was the wife of Shallum son of Tokhath, the son of Hasrah, keeper of the wardrobe. She lived in Jerusalem, in the New Quarter.
23 She said to them, “This is what the LORD, the God of Israel, says: Tell the man who sent you to me,
24 ‘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.
25 Because they have forsaken me and burned incense to other gods and aroused my anger by all that their hands have made, my anger will be poured out on this place and will not be quenched.’
26 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 heard:
27 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.
28 Now I will gather you to your ancestors, 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 her answer back to the king.
29 Then the king called together all the elders of Judah and Jerusalem.
30 He went up to the temple of the LORD with the people of Judah, the inhabitants 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.
31 The king stood by his pillar and renewed the covenant in the presence of the LORD—to follow the LORD and keep his commands, statutes and decrees with all his heart and all his soul, and to obey the words of the covenant written in this book.
32 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 ancestors.
33 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 ancestors.