Joshua did not lower his hand holding the spear until he had completely destroyed all the inhabitants of Ai.
So Joshua defeated the Amalekite army in battle.
At that time we captured all his cities and claimed them for God by destroying men, women, and children. There were no survivors.
Then the Lord said to Joshua, “Hold out the spear in your hand toward the city, because I am handing Ai over to you.” So Joshua held out his spear.
When the people living in Gibeon heard what Joshua had done to Jericho and Ai,