Numbers 31:17

17 `And now, slay ye every male among the infants, yea, every woman known of man by the lying of a male ye have slain;

Numbers 31:17 Meaning and Commentary

Numbers 31:17

Now therefore kill every male among the little ones
Which they had taken and brought captives, ( Numbers 31:9 )

and kill every woman that hath known man by lying with him;
who might be such, at least many of them, who had lain with Israelitish men; and as the adulterers had been put to death, so now the adulteresses; or they were ordered to, be slain, even all of them, lest they should entice the children of Israel to uncleanness, and so to idolatry again: now these were known to be such, either by conjecture at their age, or rather, through the examination of matrons, unless it can be thought, as it is by some, that it was by divine revelation.

Numbers 31:17 In-Context

15 And Moses saith unto them, `Have ye kept alive every female?
16 lo, they -- they have been to the sons of Israel, through the word of Balaam, to cause a trespass against Jehovah in the matter of Peor, and the plague is in the company of Jehovah.
17 `And now, slay ye every male among the infants, yea, every woman known of man by the lying of a male ye have slain;
18 and all the infants among the women, who have not known the lying of a male, ye have kept alive for yourselves.
19 `And ye, encamp ye at the outside of the camp seven days -- any who hath slain a person, and any who hath come against a pierced one, ye cleanse yourselves on the third day, and on the seventh day -- ye and your captives;
Young's Literal Translation is in the public domain.