Deuteronomy 20:14
You may take the women, the children, cattle, and everything else in the city, all its spoil, as your booty; and you may enjoy the spoil of your enemies, which the LORD has given to you — the spoil (shalal) becomes rightfully Israel's; the booty of war is presented as God's redistribution to the victorious covenant people.