After the priests and the Levites purified themselves, they purified the people, the gates, and the wall.