Deuteronomy 20:12-14
American Standard Version
12 And if it will make no peace with thee, but will make war against thee, then thou shalt besiege it: 13 and when Jehovah thy God delivereth it into thy hand, thou shalt smite every male thereof with the edge of the sword: 14 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.
Read full chapter
Deuteronomy 20:12-14
New International Version
12 If they refuse to make peace and they engage you in battle, lay siege to that city. 13 When the Lord your God delivers it into your hand, put to the sword all the men in it.(A) 14 As for the women, the children, the livestock(B) and everything else in the city,(C) you may take these as plunder(D) for yourselves. And you may use the plunder the Lord your God gives you from your enemies.
Public Domain (Why are modern Bible translations copyrighted?)
Holy Bible, New International Version®, NIV® Copyright ©1973, 1978, 1984, 2011 by Biblica, Inc.® Used by permission. All rights reserved worldwide.
NIV Reverse Interlinear Bible: English to Hebrew and English to Greek. Copyright © 2019 by Zondervan.