Joshua 8:4-12

4And he commanded them, “Behold, ayou shall lie in ambush against the city, behind it. Do not go very far from the city, but all of you remain ready. 5And I and all the people who are with me will approach the city. And when they come out against us bjust as before, we shall flee before them. 6And they will come out after us, until we have cdrawn them away from the city. For they will say, ‘They are fleeing from us, just as before.’ So we will flee before them. 7Then you shall rise up from the ambush and seize the city, for the Lord your God will give it into your hand. 8And as soon as you have taken the city, you shall set the city on fire. You shall do according to the word of the Lord. dSee, I have commanded you.” 9So Joshua sent them out. And they went to the place of ambush and lay between Bethel and Ai, to the west of Ai, but Joshua spent that night among the people.

10Joshua arose early in the morning and mustered the people and went up, he and the elders of Israel, before the people to Ai. 11And eall the fighting men who were with him went up and drew near before the city and encamped on the north side of Ai, with a ravine between them and Ai. 12He took about 5,000 men and set them in ambush between Bethel and Ai, to the west of the city.
Copyright information for ESV