Numbers 31:18
But all the women children, that have not known a man by lying with him, keep alive for yourselves.
Cross-reference
In Deuteronomy 20:14, all women and children are spared as plunder — here only virgins are spared, and male children killed, showing a stricter judgment.
In Deuteronomy 21:10-14, laws for marrying captive women are given — the virgin girls spared here become those captives.
Deuteronomy 21:11 regulates marrying a captive woman, providing the legal context for taking the virgins in Numbers 31:18.
Judges 21:11 repeats the same instruction to spare young women who haven't known a man, echoing the practice in Numbers 31:18.
In 2 Chronicles 28:8-10, taking fellow Israelites captive is condemned — contrast with taking foreign enemy virgins as captives here, which is commanded.
In Leviticus 25:44, buying slaves from surrounding nations is permitted — these spared virgins would become such servants.
In Deuteronomy 20:13, all males are killed in war — here virgins are spared, showing different treatment for women and children.