Parallel
Proverbs 17:26
King James Version (1769 Blayney revision, with Apocrypha) · Berean Standard Bible
Also to punish the just is not good, nor to strike princes for equity.
It is surely not good to punish the innocent or to flog a noble for his honesty.