5 He removed from office the priests that the kings of Judah had ordained to offer sacrifices on the pagan altars in the cities of Judah and in places near Jerusalem — all the priests who offered sacrifices to Baal, to the sun, the moon, the planets, and the stars.