So Joshua and the Israelites finished inflicting a terrible slaughter on them until they were destroyed, although a few survivors ran away to the fortified cities.
So David said to Abishai, “Sheba son of Bichri will do more harm to us than Absalom. Take your lord’s soldiers and pursue him, or he will find fortified cities and elude us.”
Declare in Judah, proclaim in Jerusalem, and say: Blow the ram’s horn throughout the land. Cry out loudly and say: Assemble yourselves, and let’s flee to the fortified cities.
Why are we just sitting here? Gather together; let us enter the fortified cities and perish there, for the Lord our God has destroyed us. He has given us poisoned water to drink, because we have sinned against the Lord.
The Lord threw them into confusion before Israel. He defeated them in a great slaughter at Gibeon, chased them through the ascent of Beth-horon, and struck them down as far as Azekah and Makkedah.
But as for the rest of you, don’t stay there. Pursue your enemies and attack them from behind. Don’t let them enter their cities, for the Lord your God has handed them over to you.”
Joshua captured all these kings and their cities and struck them down with the sword. He completely destroyed them, as Moses the Lord’s servant had commanded.
The Lord handed them over to Israel, and they struck them down, pursuing them as far as Great Sidon and Misrephoth-maim, and to the east as far as the Valley of Mizpeh. They struck them down, leaving no survivors.
When Israel had finished killing everyone living in Ai who had pursued them into the open country, and when every last one of them had fallen by the sword, all Israel returned to Ai and struck it down with the sword.