Solomon
Ecclesiastes 7:20ESV·traditional attribution

Surely there is not a righteous man on earth who does good and never sins.

Matthew Henry Presbyterian @wholebiblehenry

Solomon, in these verses, recommends wisdom to us as the best antidote against those distempers of mind which we are liable to, by reason of the vanity and vexation of spirit that there are in the things of this world. Here are some of the praises and the precepts of wisdom. I. The praises of wisdom.

Commenting on Ecclesiastes 7:11-22

John Gill Reformed Baptist @doctorgill

For there is not a just man upon earth,.... Or "although", or "notwithstanding" (d), wisdom is so beneficial, and guards and strengthens a good man, yet no man has such a share of it as to live without sin; there was not then one on earth, there never had been, one, nor never would be, nor has been, excepting the man Christ Jesus; who indeed...

Jamieson-Fausset-Brown Reformed @jfbcommentary

Referring to Ecc 7:16. Be not "self-righteous," seek not to make thyself "just" before God by a superabundance of self-imposed performances; "for true 'wisdom,' or 'righteousness,' shows that there is not a just man," &c.