Then the sons of Israel divided among themselves the cattle and the plunder of the city, just as the Lord had instructed Joshua.