Solomon
Proverbs 17:26BSB·traditional attribution

It is surely not good to punish the innocent or to flog a noble for his honesty.

Matthew Henry Presbyterian

In differences that happen between magistrates and subjects, and such differences often arise, 1. Let magistrates see to it that they never punish the just, that they be in no case a terror to good works, for that is to abuse their power and betray that great trust which is reposed in them.

John Gill Reformed Baptist

Also to punish the just is not good,.... It is evil, and an abomination to the Lord, Pro 17:15. Evildoers indeed should be punished; but to punish the righteous also, as well as them, is far from being commendable; nor to strike princes for equity: to strike princes, judges, civil magistrates, for doing the duty of their place and office, for doing that which is...

Jamieson-Fausset-Brown Reformed

Also--that is, Equally to be avoided are other sins: punishing good subjects, or resisting good rulers.