Numbers 31:18
but spare for yourselves every girl who has never had relations with a man.
Berean Standard Bible
But all the women children, that have not known a man by lying with him, keep alive for yourselves.
But all the girls, who have not known man by lying with him, keep alive for yourselves.