2 Chronicles 34:32-34

32 Then, after he had all the people in Yerushalayim and Binyamin stand in affirmation of it, the inhabitants of Yerushalayim acted in accordance with the covenant of God, the God of their ancestors.

33 Yoshiyahu removed all the abominable idols from all the territories belonging to the people of Isra’el, and he made everyone in Isra’el serve ADONAI their God. Throughout his lifetime, they did not stop following ADONAI, the God of their ancestors.