Josiah then had the bones of the pagan priests burnt on the altars.And so Josiah got rid of the worship of foreign gods in Judah and Jerusalem.