He also eliminated the foreign gods and idols from the LORD's Temple, along with all of the altars that he had built in Jerusalem and on the mountain where the LORD's Temple was located, and he discarded them outside the city. 