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 responded and said to Shaphan the scribe, “I have found the book of the law in the house of the LORD.” And Hilkiah gave the book to Shaphan. Then Shaphan brought the book to the king and reported further word to the king, saying, “Everything that was entrusted to your servants they are doing. They have also emptied out the money which was found in the house of the LORD, and have delivered it into the hands of the supervisors and the workmen.” Moreover, Shaphan the scribe told the king saying, “Hilkiah the priest gave 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 the king’s servant, saying, “Go, inquire of the LORD for me and for those who are left in Israel and in Judah, concerning the words of the book which has been found; for great is the wrath of the LORD which is poured out on us because our fathers have not observed the word of the LORD, to do according to all 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, the keeper of the wardrobe (now she lived in Jerusalem in the Second Quarter); and they spoke to her regarding this. She said to 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, even all the curses written in the book which they have read in the presence of the king of Judah. Because they have forsaken Me and have burned incense to other gods, that they might provoke Me to anger with all the works of their hands; therefore My wrath will be poured out on this place and it shall not be quenched.” ’ But to the king of Judah who sent you to inquire of the LORD, thus you will say to him, ‘Thus says the LORD God of Israel regarding the words which you have heard, “Because your heart was tender and you humbled yourself before God when you heard His words against this place and against its inhabitants, and because you humbled yourself before Me, tore your clothes and wept before Me, I truly have heard you,” declares the LORD. “Behold, I will gather you to your fathers and you shall be gathered to your grave in peace, so your eyes will not see all the evil which I will bring on this place and on its inhabitants.” ’ ” And they brought back word to the king.
Then the king sent and gathered all the elders of Judah and Jerusalem. The king went up to the house of the LORD and 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 in their hearing 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 the LORD, and to keep His commandments and 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. Moreover, he made all who were present in Jerusalem and Benjamin to stand with him. So the inhabitants of Jerusalem did according to the covenant of God, the God of their fathers. Josiah removed all the abominations from all the lands belonging to the sons of Israel, and made all who were present in Israel to serve the LORD their God. Throughout his lifetime they did not turn from following the LORD God of their fathers.