נֹאֵ֣ף אִשָּׁ֣ה חֲסַר־לֵ֑ב מַֽשְׁחִ֥ית נַ֝פְשׁ֗וֹ ה֣וּא יַעֲשֶֽׂנָּה׃
He that committeth adultery with a woman lacketh understanding; He doeth it that would destroy his own soul.
Rashi on Proverbs
One who commits adultery with a woman is devoid of sense since he does not do it because of hunger.
Rashi on Proverbs
one who would destroy his soul—he will do it The lewd act.