Joshua 8:2

And you shall do to the city of Ai, and to its king, just as you did to Jericho, and to its king. Yet truly, the spoils, and all the living things, you shall plunder for yourselves. Set an ambush against the city behind it.

Other versions

King James Version

And thou shalt do to Ai and her king as thou didst unto Jericho and her king: only the spoil thereof, and the cattle thereof, shall ye take for a prey unto yourselves: lay thee an ambush for the city behind it.

English Standard Version

And you shall do to Ai and its king as you did to Jericho and its king. Only its spoil and its livestock you shall take as plunder for yourselves. Lay an ambush against the city, behind it."

New International Version

You shall do to Ai and its king as you did to Jericho and its king, except that you may carry off their plunder and livestock for yourselves. Set an ambush behind the city."