When Israel had finished killing all the men of Ai who had chased them toward the desert (they all fell by the sword), all Israel returned to Ai and put the sword to it.
But the Israelites defeated him in battle and took possession of his land from the Arnon to the Jabbok, as far as the Ammonites, for the border of the Ammonites was strongly defended.
They retreated before the Israelites, taking the road to the wilderness. But the battle overtook them as men from the surrounding cities struck them down.