2 Chronicles 34:29-33 NLT

29 Then the king summoned all the elders of Judah and Jerusalem.
30 And the king went up to the Temple of the with all the people of Judah and Jerusalem, along with the priests and the Levites—all the people from the greatest to the least. There the king read to them the entire Book of the Covenant that had been found in the ’s Temple.
31 The king took his place of authority beside the pillar and renewed the covenant in the ’s presence. He pledged to obey the by keeping all his commands, laws, and decrees with all his heart and soul. He promised to obey all the terms of the covenant that were written in the scroll.
32 And he required everyone in Jerusalem and the people of Benjamin to make a similar pledge. The people of Jerusalem did so, renewing their covenant with God, the God of their ancestors.
33 So Josiah removed all detestable idols from the entire land of Israel and required everyone to worship the their God. And throughout the rest of his lifetime, they did not turn away from the , the God of their ancestors.