1Yahweh said to Joshua, Don't be afraid, neither be dismayed: take all the people of war with you, and arise, go up to Ai; behold, I have given into your hand the king of Ai, and his people, and his city, and his land;
2You shall do to Ai and her king as you did to Jericho and her king: only the spoil of it, and the cattle of it, shall you take for a prey to yourselves: set you an ambush for the city behind it.
3So Joshua arose, and all the people of war, to go up to Ai: and Joshua chose out thirty thousand men, the mighty men of valor, and sent them forth by night.
4He 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:
5and 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;
6and 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;
7and you shall rise up from the ambush, and take possession of the city: for Yahweh your God will deliver it into your hand.
8It 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.
9Joshua 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.
10Joshua arose up early in the morning, and mustered the people, and went up, he and the elders of Israel, before the people to Ai.
11All 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.
12He took about five thousand men, and set them in ambush between Bethel and Ai, on the west side of the city.
13So 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.