Deuteronomy 20
10 When thou comest nigh unto a city to fight against it, then proclaim peace unto it.
11 And it shall be, if it make thee answer of peace, and open unto thee, then it shall be, that all the people that is found therein shall be tributaries unto thee, and they shall serve thee.
12 And if it will make no peace with thee, but will make war against thee, then thou shalt besiege it:
13 And when the LORD thy God hath delivered it into thine hands, 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 unto thyself; and thou shalt eat the spoil of thine enemies, which the LORD thy God hath given thee.
Deuteronomy 21
10 When thou goest forth to war against thine enemies, and the LORD thy God hath delivered them into thine hands, and thou hast taken them captive,
11 And seest among the captives a beautiful woman, and hast a desire unto her, that thou wouldest have her to thy wife;
12 Then thou shalt bring her home to thine house, and she shall shave her head, and pare her nails;
13 And she shall put the raiment of her captivity from off her, and shall remain in thine house, and bewail her father and her mother a full month: and after that thou shalt go in unto her, and be her husband, and she shall be thy wife.
14 And it shall be, if thou have no delight in her, then thou shalt let her go whither she will; but thou shalt not sell her at all for money, thou shalt not make merchandise of her, because thou hast humbled her.
Numbers 31
7 And they warred against the Midianites, as the LORD commanded Moses; and they slew all the males.
8 And they slew the kings of Midian, beside the rest of them that were slain; namely, Evi, and Rekem, and Zur, and Hur, and Reba, five kings of Midian: Balaam also the son of Beor they slew with the sword.
9 And the children of Israel took all the women of Midian captives, and their little ones, and took the spoil of all their cattle, and all their flocks, and all their goods.
10 And they burnt all their cities wherein they dwelt, and all their goodly castles, with fire.
11 And they took all the spoil, and all the prey, both of men and of beasts.
12 And they brought the captives, and the prey, and the spoil, unto Moses, and Eleazar the priest, and unto the congregation of the children of Israel, unto the camp at the plains of Moab, which are by Jordan near Jericho.
13 And Moses, and Eleazar the priest, and all the princes of the congregation, went forth to meet them without the camp.
14 And Moses was wroth with the officers of the host, with the captains over thousands, and captains over hundreds, which came from the battle.
15 And Moses said unto them, Have ye saved all the women alive?
16 Behold, these caused the children of Israel, through the counsel of Balaam, to commit trespass against the LORD in the matter of Peor, and there was a plague among the congregation of the LORD.
17 Now therefore kill every male among the little ones, and kill every woman that hath known man by lying with him.
18 But all the women children, that have not known a man by lying with him, keep alive for yourselves.