#What did Yahweh tell Joshua to do in order to take the city of Ai?

Yahweh told Joshua to take all the people of war to Ai and set an ambush behind the city. [8:1-2]

#What were the people to do with the plunder from Ai?

Yahweh told the people they could take the plunder and cattle for themselves. [8:2]