2 Chronicles 34:31-33

31 And the king stood in his place and made a covenant before the LORD, to walk after the LORD, and that they would keep his commandments and his testimonies and his statutes with all their heart and with all their soul to perform the words of the covenant which are written in this book.

32 And he caused all that were present 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 lands that [pertained] to the sons of Israel and made all that were present in Israel serve the LORD their God [only]. [And] all his days they did not depart from following the LORD, the God of their fathers.: