Joshua 8:19

19 When he held out his hand, the men in ambush rose quickly from their position. They ran, entered the city, captured it, and immediately set it on fire.

Joshua 8:19 In-Context

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.
18 Then the Lord said to Joshua, "Hold out the sword in your hand toward Ai, for I will hand the city over to you." So Joshua held out his sword toward it.
19 When he held out his hand, the men in ambush rose quickly from their position. They ran, entered the city, captured it, and immediately set it on fire.
20 The men of Ai turned and looked back, and smoke from the city was rising to the sky! They could not escape in any direction, and the troops who had fled to the wilderness now became the pursuers.
21 When 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.
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.