Joshua 8:21

19 and as soon as he did so, the men in ambush rose quickly from their position. They rushed forward, entered the city, captured it, and immediately set it on fire.

20 When the men of Ai turned and looked back, the smoke of the city was rising into the sky. They could not escape in any direction, and the troops who had fled to the wilderness now became the pursuers.

When Joshua and all Israel saw that the men in ambush had captured the city and that smoke was rising from it, they turned around and struck down the men of Ai.

22 Meanwhile, those in the ambush came out of the city against them, and the men of Ai were trapped between the Israelite forces on both sides. So Israel struck them down until no survivor or fugitive remained.

23 But they took the king of Ai alive and brought him to Joshua.

Here the Bible tells a story about someone else. Ask yourself what it can say to us today. Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
When Joshua and all Israel saw that the men in ambush had captured the city and that smoke was rising from it, they turned around and struck down the men of Ai.
KJV
And when Joshua and all Israel saw that the ambush had taken the city, and that the smoke of the city ascended, then they turned again, and slew the men of Ai.
WEB
When Joshua and all Israel saw that the ambush had taken the city, and that the smoke of the city ascended, then they turned back and killed the men of Ai.
ASV
And when Joshua and all Israel saw that the ambush had taken the city, and that the smoke of the city ascended, then they turned again, and slew the men of Ai.
DARBY
When Joshua and all Israel saw that the ambush had taken the city, and that the smoke of the city went up, they turned again, and slew the men of Ai.
BLB
And Joshua and all Israel saw that the ambush had taken the city, and that the smoke of the city ascended, and they turned back and struck down the men of Ai.
ÅB
For da Josva og hele Israel så at bakholdet hadde inntatt byen, og at røyken steg opp fra byen, vendte de om og slo Ai-mennene.
OTB
Da Josva og hele Israel så at bakholdet hadde erobret byen og at røyken steg opp fra den, snudde de seg og angrep mennene i Ai.
B1930
For da Josva og hele Israel så at bakholdet hadde inntatt byen, og at røken steg op fra byen, vendte de om og slo Ai-mennene.

Study notes (Tyndale)

Original text and word study