Numbers 31:17-18

17Now therefore, akill every male among the little ones, and kill every woman who has known man by lying with him. 18But all the young girls who have not known man by lying with him bkeep alive for yourselves.

Deuteronomy 2:34

34And we captured all his cities at that time and devoted to destruction
That is, set apart ( devoted) as an offering to the Lord (for destruction)
every dcity, men, women, and children. We left no survivors.
Copyright information for ESV