7 you come out of hiding and capture the city. The Lord your God will hand it over to you.
8 When you have captured the city, set it on fire. Do what the Lord says. These are your orders.”
9 So Joshua sent them out, and they hid. They took their position west of Ai, between Bethel and Ai. Joshua spent the night with the troops.
10 Joshua got up early in the morning and assembled the troops. Then he and the leaders of Israel led the army to Ai.
11 All the troops with him marched until they were near the city. They camped north of Ai with the ravine between them and Ai.
12 Joshua had taken about five thousand men and had them hide between Bethel and Ai, west of the city.
13 All the troops were positioned. The main camp was north of the city, and the other troops were hiding west of the city. That night Joshua went down into the middle of the valley.