The king stood beside the pillar 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 confirmed the terms of the promise written in this book. And all the people joined in the promise.
Then the king ordered the chief priest Hilkiah, the priests who served under Hilkiah, and the doorkeepers to take out of the LORD's temple all the utensils that had been made for Baal, Asherah, and the entire army of heaven. Josiah burned the utensils outside Jerusalem in an open field near the Kidron Brook. Then he carried their ashes to Bethel
He got rid of the pagan priests whom the kings of Judah had appointed to sacrifice at the illegal places of worship in the cities of Judah and all around Jerusalem. They had been sacrificing to Baal, the sun god, the moon god, the zodiac, and the entire army of heaven.
He took the pole dedicated to the goddess Asherah from the temple to the Kidron Valley outside Jerusalem. He burned it in the Kidron Valley, ground it to dust, and threw its ashes on the tombs of the common people.
He tore down the houses of the male temple prostitutes who were in the LORD's temple, where women did weaving for Asherah.
He brought all the priests out of the cities of Judah from Geba to Beersheba and made the places where those priests sacrificed unclean. He tore down the worship site at the entrance of the Gate of Joshua, the gate named after the mayor of the city. (The worship site was to the left of anyone going through the city gate.)
The priests of the illegal worship sites had never gone to the LORD's altar in Jerusalem. Instead, they ate their unleavened bread among the other worshipers.
Josiah also made Topheth in the valley of Ben Hinnom unclean so that people would never again sacrifice their sons or daughters by burning them to the god Molech.
He removed the horses that Judah's kings had dedicated to the sun god at the entrance of the LORD's temple. They were in the temple courtyard near the room of the eunuch Nathan Melech. He also burned the chariots of the sun god,
the altars that Judah's kings had made and placed on the roof of Ahaz's upstairs room, and the altars Manasseh had made in the two courtyards of the LORD's temple. The king tore them down from there, crushed them, and dumped their rubble in the Kidron Valley.
The king made the illegal places of worship east of Jerusalem unclean. They were on the southern part of the Hill of Destruction. King Solomon of Israel had built them for Astarte (the disgusting goddess of the Sidonians), Chemosh (the disgusting god of Moab), and Milcom (the disgusting god of the Ammonites).