Solomon
Ecclesiastes 7:16BSB·traditional attribution

Do not be overly righteous, and do not make yourself too wise. Why should you destroy yourself?

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

Be not righteous over much,.... This is not meant of true and real righteousness, even moral righteousness, a man cannot be too holy or too righteous; but of a show and ostentation of righteousness, and of such who would be thought to be more righteous and holy than others, and therefore despise those who, as they imagine, do not come up to them; and are...

Jamieson-Fausset-Brown Reformed @jfbcommentary

HOLDEN makes Ecc 7:16 the scoffing inference of the objector, and Ecc 7:17 the answer of Solomon, now repentant. So (Co1 15:32) the skeptic's objection; (Co1 15:33) the answer. However, "Be not righteous over much," may be taken as Solomon's words, forbidding a self-made righteousness of outward performances, which would wrest salvation from God, instead of receiving it as the gift of His grace.