Joshua 8:2

2 and thou hast done to Ai and to her king as thou hast done to Jericho and to her king; only, its spoil and its cattle ye spoil for yourselves; set for thee an ambush for the city at its rear.'

Joshua 8:2 Meaning and Commentary

Joshua 8:2

And thou shalt do to Ai and her king as thou didst to Jericho
and her king
Burn the one and slay the other:

only the spoil thereof, and the cattle thereof, shall ye take for a
prey unto yourselves;
which they were not allowed to do at Jericho:

lay thee an ambush for the city behind it;
at the west side of it: some have called in question the lawfulness of the ambush, but, as this was appointed by the Lord, there is no room for it.

Joshua 8:2 In-Context

1 And Jehovah saith unto Joshua, `Fear not, nor be affrighted, take with thee all the people of war, and rise, go up to Ai; see, I have given into thy hand the king of Ai, and his people, and his city, and his land,
2 and thou hast done to Ai and to her king as thou hast done to Jericho and to her king; only, its spoil and its cattle ye spoil for yourselves; set for thee an ambush for the city at its rear.'
3 And Joshua riseth, and all the people of war, to go up to Ai, and Joshua chooseth thirty thousand men, mighty ones of valour, and sendeth them away by night,
4 and commandeth them, saying, `See, ye are liers in wait against the city, at the rear of the city, ye go not very far off from the city, and all of you have been prepared,
5 and I and all the people who [are] with me draw near unto the city, and it hath come to pass when they come out to meet us as at the first, and we have fled before them,
Young's Literal Translation is in the public domain.