2 Chronicles 34:31-33

31 And the king stood in his place, and made a covenant before LORD, to walk after 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 that were written in this book.

32 And he caused all who were found in Jerusalem and Benjamin to stand to it. And the inhabitants of Jerusalem did according to the covenant of God, the God of their fathers.

33 And Josiah took away all the abominations out of all the countries that pertained to the sons of Israel, and made all who were found in Israel to serve, even to serve LORD their God. All his days they did not depart from following LORD, the God of their fathers.