Solomon
Proverbs 6:32ESV·traditional attribution

He who commits adultery lacks sense; he who does it destroys himself.

Matthew Henry Presbyterian @wholebiblehenry

Here is, I. A general exhortation faithfully to adhere to the word of God and to take it for our guide in all our actions. 1. We must look upon the word of God both as a light (Pro 6:23) and as a law, Pro 6:20, Pro 6:23.

Commenting on Proverbs 6:20-35

John Gill Reformed Baptist @doctorgill

A wound and dishonour shall he get,.... A wound, stroke, or blow, either from the husband of the strumpet, as was often the case (x) in later times; or from the civil magistrate, being ordered by him to be beaten (y) or stoned; or from God himself inflicting diseases on him; see Gen 12:17; where the same word is used as here: and "dishonour" from...

Jamieson-Fausset-Brown Reformed @jfbcommentary

lacketh understanding--or, "heart"; destitute of moral principle and prudence.