Joshua did not draw back his hand that was holding the sword until all the inhabitants of Ai were completely destroyed.
So Joshua defeated Amalek and his army with the sword.
At that time we captured all his cities and completely destroyed the people of every city, including the women and children. We left no survivors.
Then the Lord said to Joshua, “Hold out the sword in your hand toward Ai, for I will hand the city over to you.” So Joshua held out his sword toward it.
When the inhabitants of Gibeon heard what Joshua had done to Jericho and Ai,