Deuteronomy 20:14

but not the women and young children, nor the cattle and the other things that are within the city. And you shall divide all the plunder to the soldiers, and you shall eat the spoils from your enemies, which the Lord your God will give to you

Other versions

King James Version

But the women, and the little ones, and the cattle, and all that is in the city, even all the spoil thereof, shalt thou take unto thyself; and thou shalt eat the spoil of thine enemies, which the LORD thy God hath given thee.

English Standard Version

but the women and the little ones, the livestock, and everything else in the city, all its spoil, you shall take as plunder for yourselves. And you shall enjoy the spoil of your enemies, which the LORD your God has given you.

New International Version

As for the women, the children, the livestock and everything else in the city, you may take these as plunder for yourselves. And you may use the plunder the LORD your God gives you from your enemies.