Joshua 8:2

8:2 Do to Ai and its king what you did to Jericho and its king, except you may plunder its goods and cattle. Set an ambush behind the city!”

Joshua 8:27

8:27 But Israel did plunder the cattle and the goods of the city, in accordance with the Lord’s orders to Joshua.