He built a high wall around Judah and took away foreign gods, the idol that he had placed in God's house, and all the altars he had built.