24 When Israel finished slaughtering all the inhabitants of Ai in the open field, in the wilderness where they pursued them, and when all of them had fallen by the edge of the sword until they all had perished, all Israel returned to Ai and attacked it with the edge of the sword.