Joshua 8:17

17 Not a man remained in Ai or Bethel who did not go after Israel. They left the city open and went in pursuit of Israel.

Joshua 8:17 in Other Translations

KJV
17 And there was not a man left in Ai or Bethel, that went not out after Israel: and they left the city open, and pursued after Israel.
ESV
17 Not a man was left in Ai or Bethel who did not go out after Israel. They left the city open and pursued Israel.
NLT
17 There was not a man left in Ai or Bethel who did not chase after the Israelites, and the town was left wide open.
MSG
17 There wasn't a soul left in Ai or Bethel who wasn't out there chasing after Israel. The city was left empty and undefended as they were chasing Israel down.
CSB
17 Not a man was left in Ai or Bethel who did not go out after Israel, leaving the city exposed while they pursued Israel.

Joshua 8:17 Meaning and Commentary

Joshua 8:17

And there was not a man left in Ai or Bethel that went not
out after Israel
For as these two places were very near to each other, but a mile apart, they were in confederacy, and acted together, and could easily be called to the help of each other when required: though there is a difficulty how the men of Bethel could join those of Ai, when the ambush lay between them both, ( Joshua 8:12 ) ; they either went another way, or the ambush purposely let them pass, for fear of a discovery by a skirmish with them, and that Bethel as well as Ai might be cleared of its armed inhabitants, and so fall an easy prey to them as well as Ai: this must be understood only of men of war; for otherwise there were inhabitants left, as old men, and such as were unfit for war, afterwards slain, ( Joshua 8:24 Joshua 8:25 ) ;

and they left the city open:
they did not stay to shut the gates, nor left porters or any guards about, to take care of, protect, and defend the city:

and pursued after Israel;
with great eagerness and vehemence, not having the least apprehension of their city being in any danger.

Joshua 8:17 In-Context

15 Joshua and all Israel let themselves be driven back before them, and they fled toward the wilderness.
16 All the men of Ai were called to pursue them, and they pursued Joshua and were lured away from the city.
17 Not a man remained in Ai or Bethel who did not go after Israel. They left the city open and went in pursuit of Israel.
18 Then the LORD said to Joshua, “Hold out toward Ai the javelin that is in your hand, for into your hand I will deliver the city.” So Joshua held out toward the city the javelin that was in his hand.
19 As soon as he did this, the men in the ambush rose quickly from their position and rushed forward. They entered the city and captured it and quickly set it on fire.
Scripture quoted by permission.  Quotations designated (NIV) are from THE HOLY BIBLE: NEW INTERNATIONAL VERSION®.  NIV®.  Copyright © 1973, 1978, 1984, 2011 by Biblica.  All rights reserved worldwide.