Joshua 8:22-24 (Darby)
22 And the others went 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, until they let none of them escape or flee away.
23 And the king of Ai they took alive, and brought him to Joshua.
24 And it came to pass when Israel had ended slaying all the inhabitants of Ai in the field, in the wilderness wherein they had chased them, and they had all fallen by the edge of the sword, until they were consumed, that all Israel returned to Ai, and smote it with the edge of the sword.
About Joshua 8: Joshua 8 follows the defeat at Ai in chapter 7. After the sin of Achan was dealt with, God tells Joshua to take all the people of war and go up to Ai (verse 1). This time, the victory is certain because God has given the city into Joshua’s hand. The Lord commands them to take the spoil and cattle for themselves, unlike Jericho. He also instructs them to lay an ambush behind the city. Read the study notes
3 verses · Compare in parallel · Read all of Joshua 8