NASB
"The others came out from the city to encounter them, so that they were trapped in the midst of Israel, some on this side and some on that side; and they slew them until no one was left of those who survived or escaped."
— Joshua 8:22, NASB
“And the other issued out of the city against them; so they were in the midst of Israel, some on this side, and some on that side: and they smote them, so that they let none of them remain or escape.”
“And the others came forth out of the city against them; so they were in the midst of Israel, some on this side, and some on that side: and they smote them, so that they let none of them remain or escape. ”
“The others came out of the city against them, so they were in the midst of Israel, some on this side, and some on that side. They struck them, so that they let none of them remain or escape.”
“At the same time the men who had taken the city came out to fight, and the men of Ai were trapped in the middle. The Israelites struck them down, leaving no survivors or refugees.”
“And they also that had taken and set the city on fire, issuing out of the city to meet their own men, began to cut off the enemies who were surrounded by them. So that the enemies being cut off on both sides, not one of so great a multitude was saved.”
“Then the other force came out of the town against them, so that they were being attacked on this side and on that: and Israel overcame them and let not one of them get away with his life.”
“And the other issued out of the city against them; so they were in the midst of Israel, some on this side, and some on that side: and they smote them, so that they let none of them remain or escape.”
The men in ambush rose quickly from their place, and when he had stretched out his hand, they ran and entered the city and captured it, and they quickly set the city on fire.
When the men of Ai turned back and looked, behold, the smoke of the city ascended to the sky, and they had no place to flee this way or that, for the people who had been fleeing to the wilderness turned against the pursuers.
When Joshua and all Israel saw that the men in ambush had captured the city and that the smoke of the city ascended, they turned back and slew the men of Ai.
The others came out from the city to encounter them, so that they were trapped in the midst of Israel, some on this side and some on that side; and they slew them until no one was left of those who survived or escaped.
But they took alive the king of Ai and brought him to Joshua.
Now when Israel had finished killing all the inhabitants of Ai in the field in the wilderness where they pursued them, and all of them were fallen by the edge of the sword until they were destroyed, then all Israel returned to Ai and struck it with the edge of the sword.
All who fell that day, both men and women, were 12,000--all the people of Ai.