Joshua 8:4-14

4 He commanded them, saying, Behold, you shall lie in ambush against the city, behind the city; don't go very far from the city, but be all ready:
5 and I, and all the people who are with me, will approach to the city. It shall happen, when they come out against us, as at the first, that we will flee before them;
6 and they will come out after us, until we have drawn them away from the city; for they will say, They flee before us, as at the first: so we will flee before them;
7 and you shall rise up from the ambush, and take possession of the city: for Yahweh your God will deliver it into your hand.
8 It shall be, when you have seized on the city, that you shall set the city on fire; according to the word of Yahweh shall you do: behold, I have commanded you.
9 Joshua sent them forth; and they went to set up the ambush, and stayed between Bethel and Ai, on the west side of Ai: but Joshua lodged that night among the people.
10 Joshua arose up early in the morning, and mustered the people, and went up, he and the elders of Israel, before the people to Ai.
11 All the people, [even] the [men of] war who were with him, went up, and drew near, and came before the city, and encamped on the north side of Ai: now there was a valley between him and Ai.
12 He took about five thousand men, and set them in ambush between Bethel and Ai, on the west side of the city.
13 So they set the people, even all the host who was on the north of the city, and their liers-in-wait who were on the west of the city; and Joshua went that night into the midst of the valley.
14 It happened, when the king of Ai saw it, that they hurried and rose up early, and the men of the city went out against Israel to battle, he and all his people, at the time appointed, before the Arabah; but he didn't know that there was an ambush against him behind the city.
The World English Bible is in the public domain.