Deuteronomy 20:14

But the women, children, livestock, and whatever else is in the city—all its spoil—you may take as plunder, and you shall use the spoil of your enemies that the Lord your God gives you.
BSB · Berean Standard Bible
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.

Note take: Heb. spoil

KJV · King James Version
but the women, the little ones, the livestock, and all that is in the city, even all its plunder, you shall take for plunder for yourself. You may use the plunder of your enemies, which the Lord your God has given you.
WEB · World English Bible
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 for a prey unto thyself; and thou shalt eat the spoil of thine enemies, which Jehovah thy God hath given thee.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

the women
Numbers 31:9, 12, 18, 35–54; Joshua 8:2; Joshua 11:14; 2 Chronicles 14:13–15; 2 Chronicles 20:25; Psalm 68:12; Romans 8:37
take unto thyself
Heb. spoil. thou shalt eat.
Joshua 22:8