When they were bringing out the money which had been brought into the house of the LORD, Hilkiah the priest found the Book of the Law of the LORD given by Moses. Hilkiah told Shaphan the scribe, “I have found the Book of the Law in the house of the LORD.” And he gave the book to Shaphan. Shaphan brought the book to the king, but [first] reported further to him, “Your servants are doing everything that was entrusted to them. They have emptied out the money that was found in the house of the LORD, and have delivered it into the hands of the overseers and the workmen.” Then Shaphan the scribe told 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 clothes. Then the king commanded Hilkiah, Ahikam the son of Shaphan, Abdon the son of Micah, Shaphan the scribe, and Asaiah a servant of the king, saying, “Go, inquire of the LORD for me and for those who are left in Israel and in Judah in regard to the words of the book which has been found; for great is the wrath of the LORD which has been poured out on us because our fathers have not kept and obeyed the word of the LORD, to act in accordance with everything that is written in this book.”
So Hilkiah and those whom the king had told went to Huldah the prophetess, the wife of Shallum the son of Tokhath, the son of Hasrah, keeper of the wardrobe (now she lived in Jerusalem, in the Second Quarter); and they spoke to her about this. And she answered them, “Thus says the LORD, the God of Israel: ‘Tell the man who sent you to me, thus says the LORD: “Behold, I am bringing evil on this place and on its inhabitants, all the curses that are written in the book which they have read in the presence of the king of Judah. Because they have abandoned (rejected) Me and have burned incense to other gods, in order to provoke Me to anger with all the works of their hands, My wrath will be poured out on this place and it will not be extinguished.” ’ But you shall say the following to King Josiah of Judah, who sent you to inquire of the LORD: ‘Thus says the LORD God of Israel, concerning the words which you have heard, “Because your heart was gentle and penitent and you humbled yourself before God when you heard His words against this place and its inhabitants, and humbled yourself before Me, and tore your clothes and wept before Me, I also have heard you,” declares the LORD. “Behold, I will gather you to your fathers [in death], and you shall be gathered to your grave in peace, and your eyes shall not see all the evil which I am going to bring on this place and on its inhabitants.” ’ ” So they brought back word to the king.
Then the king sent word and gathered all the elders of Judah and Jerusalem. And the king went up to the house of the LORD with all the men of Judah, the inhabitants of Jerusalem, the priests, the Levites, and all the people, from the greatest to the least; and he read aloud so they could hear all the words of the Book of the Covenant which was found in the house of the LORD.
Then the king stood in his place and made a covenant before the LORD—to walk after (obey) the LORD, and to keep His commandments, His testimonies, and His statutes with all his heart and with all his soul, to perform the words of the covenant written in this book. Further, he made all who were present in Jerusalem and Benjamin stand [with him, in confirmation of it]. So the inhabitants of Jerusalem acted in accordance with the covenant of God, the God of their fathers.