2 Chronicles 34:31-33

31 The king stood in his place and made a promise to the LORD that he would follow the LORD and obey his commands, instructions, and laws with all his heart and soul. He said he would live by the terms of the promise written in this book.

32 He also made all those found in Jerusalem and Benjamin join with him [in the promise]. Then the people of Jerusalem lived according to the promise of God, the God of their ancestors.

33 Josiah got rid of all the disgusting idols throughout Israelite territory. He made all people found in Israel serve the LORD their God. As long as he lived, they didn't stop following the LORD God of their ancestors.