“You, Eleazar the priest, and all the leaders should count all the prisoners, animals, and everything the soldiers took in war.
Then the Lord said to Moses,
Then divide these things between the soldiers who went to war and the rest of the Israelites.
The Israelites kept the animals and other things from the city for themselves. This is what the Lord said they could do when he gave Joshua the commands.