Josiah was eight years old when he began to reign, and he reigned thirty-one years in Jerusalem. His mother's name was Jedidah the daughter of Adaiah of Bozkath. And he did what was right in the eyes of the LORD and walked in all the way of David his father, and he did not turn aside to the right or to the left.
In the eighteenth year of King Josiah, the king sent Shaphan the son of Azaliah, son of Meshullam, the secretary, to the house of the LORD, saying, "Go up to Hilkiah the high priest, that he may count the money that has been brought into the house of the LORD, which the keepers of the threshold have collected from the people. And let it be given into the hand of the workmen who have the oversight of the house of the LORD, and let them give it to the workmen who are at the house of the LORD, repairing the house (that is, to the carpenters, and to the builders, and to the masons), and let them use it for buying timber and quarried stone to repair the house. But no accounting shall be asked from them for the money that is delivered into their hand, for they deal honestly."
And Hilkiah the high priest said to Shaphan the secretary, "I have found the Book of the Law in the house of the LORD." And Hilkiah gave the book to Shaphan, and he read it. And Shaphan the secretary came to the king, and reported to the king, "Your servants have emptied out the money that was found in the house and have delivered it into the hand of the workmen who have the oversight of the house of the LORD." Then Shaphan the secretary told the king, "Hilkiah the priest has given me a book." And Shaphan read it before the king.
When the king heard the words of the Book of the Law, he tore his clothes.