Joshua 8:24

24 And it cometh to pass, at Israel's finishing to slay all the inhabitants of Ai in the field, in the wilderness in which they pursued them (and they fall all of them by the mouth of the sword till their consumption), that all Israel turn back to Ai, and smite it by the mouth of the sword;

Joshua 8:24 Meaning and Commentary

Joshua 8:24

And it came to pass, when Israel had made an end of slaying
all the inhabitants of Ai
That came out against them:

in the field, in the wilderness wherein they chased them;
both in the arable lands that were sown with corn, and now clothed with it, the wheat especially, not being gathered in, as not yet ripe, and in the pasture ground, designed by the wilderness, see ( Joshua 8:15 ) ; so Kimchi and Ben Melech interpret it:

and when they were all fallen on the edge of the sword;
and were slain by it:

until they were consumed;
and not one left:

that all the Israelites returned unto Ai;
both the ambush that came out of it, and the army that came against it:

and smote it with the edge of the sword;
that is, the inhabitants that were left in it unfit for war, as old men, infirm persons, women and children, as follows.

Joshua 8:24 In-Context

22 and these have come out from the city to meet them, and they are in the midst of Israel, some on this side, and some on that, and they smite them till he hath not left to them a remnant and escaped one;
23 and the king of Ai they caught alive, and bring him near unto Joshua.
24 And it cometh to pass, at Israel's finishing to slay all the inhabitants of Ai in the field, in the wilderness in which they pursued them (and they fall all of them by the mouth of the sword till their consumption), that all Israel turn back to Ai, and smite it by the mouth of the sword;
25 and all who fall during the day, of men and of women, are twelve thousand -- all men of Ai.
26 And Joshua hath not brought back his hand which he stretched out with the javelin till that he hath devoted all the inhabitants of Ai;
Young's Literal Translation is in the public domain.