But the Israelites took the beasts and the spoil of the city for themselves, according unto the word of the Lord which he had commanded Joshua.