When Joshua and the Israelites had finished striking them with overwhelming force until they were completely defeated, the survivors escaped from them and went back to their fortified cities.
So David said to Abishai, “Now Sheba the son of Bichri will cause more harm for us than Absalom. You take your lord’s servants and pursue after him. Otherwise, he will find fortified cities and escape from our sight.”
Declare in Judah and proclaim in Jerusalem, and say: Blow the trumpet in the land. Cry aloud and say, “Assemble yourselves, and let us go into the fortified cities.”
Why do we sit still? Assemble yourselves, and let us enter the fortified cities and let us perish there. For the Lord our God has doomed us and given us water of gall to drink, because we have sinned against the Lord.
The Lord panicked them before Israel. They struck them with overwhelming force at Gibeon, then Israel pursued them on the road that rises to Beth-horon and struck them down as far as Azekah and Makkedah.
As for you, do not stop pursuing your enemies, but attack them from behind. Do not let them go back to their cities, for the Lord your God has given them into your hand.”
Joshua captured all these kings and their towns. He struck with the edge of the sword, destroying them, as Moses the servant of the Lord had commanded.
The Lord gave them into the hand of Israel. They struck them down and pursued them all the way to Greater Sidon, Misrephoth Maim, and Mizpah Valley to the east. They struck them down until no survivor remained.
When Israel completed killing all the inhabitants of Ai in the open wilderness where they had pursued them, and when all of them had finally fallen by the edge of the sword, all Israel returned to Ai and struck it with the edge of the sword.