Numbers 31:17

17Now therefore kill every boy,
Heb “every male among the little ones.”
The command in holy war to kill women and children seems in modern times a terrible thing to do (and it was), and something they ought not to have done. But this criticism fails to understand the situation in the ancient world. The entire life of the ancient world was tribal warfare. God’s judgment is poured out on whole groups of people who act with moral abandonment and in sinful pursuits. See E. J. Young, My Servants, the Prophets, 24; and J. W. Wenham, The Enigma of Evil.
and kill every woman who has had sexual intercourse with a man.
Heb “every woman who has known [a] man by lying with a man.”
Copyright information for NETfull