4And he charged them, saying, Do ye lie in ambush behind the city: do not go far from the city, and ye shall all be ready.
5And I and all with me will draw near to the city: and it shall come to pass when the inhabitants of Gai shall come forth to meet us, as before, that we will flee from before them.
6And when they shall come out after us, we will draw them away from the city; and they will say, These men flee from before us, as also before.
7And ye shall rise up out of the ambuscade, and go into the city.
8Ye shall do according to this word, lo! I have commanded you.
9And Joshua sent them, and they went to lie in ambush; and they lay between Bæthel and Gai, westward of Gai.
10And Joshua rose up early in the morning, and numbered the people; and he went up, he and the elders before the people to Gai.
11And all the men of war went up with him, and they went forward and came over against the city eastward.
12And the ambuscade was on the west side of the city.
14And it came to pass when the king of Gai saw it, he hasted and went out to meet them direct to the battle, he and all the people that were with him: and he knew not that there was an ambuscade formed against him behind the city.
15And Joshua and Israel saw, and retreated from before them.
16And they pursued after the children of Israel, and they themselves went to a distance from the city.
17There was no one left in Gai who did not pursue after Israel; and they left the city open, and pursued after Israel.