“You, Eleazar the priest, and all the leaders should count all of the prisoners, animals, and all of the things that the soldiers took in war.
Then the Lord said to Moses,
Then divide those things between the soldiers that went to war and the rest of the people of Israel.
The people of Israel 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.