When Joshua and the Israelites had finished inflicting a very great blow on them, until they were wiped out, and when the survivors had entered into the fortified towns,
David said to Abishai, “Now Sheba son of Bichri will do us more harm than Absalom; take your lord’s servants and pursue him, or he will find fortified cities for himself and escape from us.”
Declare in Judah, and proclaim in Jerusalem, and say: Blow the trumpet through the land; shout aloud and say, “Gather together, and let us go into the fortified cities!”
Why do we sit still? Gather together; let us go into the fortified cities and perish there, for the Lord our God has doomed us to perish and has given us poisoned water to drink because we have sinned against the Lord.
And the Lord threw them into a panic before Israel, who inflicted a crushing blow on them at Gibeon, chased them by the way of the ascent of Beth-horon, and struck them down as far as Azekah and Makkedah.
but do not stay there yourselves; pursue your enemies and attack them from the rear. Do not let them enter their towns, for the Lord your God has given them into your hand.”
And all the towns of those kings and all their kings, Joshua took and struck them with the edge of the sword, utterly destroying them, as Moses the servant of the Lord had commanded.
And the Lord handed them over to Israel, who attacked them and chased them as far as Great Sidon and Misrephoth-maim and eastward as far as the valley of Mizpeh. They struck them down until they had left no one remaining.
When Israel had finished killing all the inhabitants of Ai in the open wilderness where they pursued them, and when all of them to the very last had fallen by the edge of the sword, all Israel returned to Ai and attacked it with the edge of the sword.