As soon as he stretched out his hand, the men in ambush rose quickly from their place and rushed in. They entered the city, captured it, and hurried to set it on fire.
In context
17Not a man was left in Ai or Bethel who did not go out after Israel. They left the city wide open and went in pursuit of Israel. 18Yahweh said to Joshua, “Point the javelin in your hand toward Ai, for I will give it into your hand.” So Joshua pointed the javelin in his hand toward the city. 19As soon as he stretched out his hand, the men in ambush rose quickly from their place and rushed in. They entered the city, captured it, and hurried to set it on fire. 20When the men of Ai looked back, they saw the smoke of the city rising to the sky, and they had no way to flee in any direction, for the people who had been fleeing toward the wilderness turned back against their pursuers. 21When Joshua and all Israel saw that the men in ambush had captured the city and that smoke was rising from it, they turned back and struck down the men of Ai.