But the Israelites took the animals and the other possessions of the people of Ai, because this was what the Lord had told Joshua to do.