26 If imposing a fine on the innocent is not good, surely to flog honest officials is not right.

Read Proverbs 17:26 Using Other Translations

Also to punish the just is not good, nor to strike princes for equity.
To impose a fine on a righteous man is not good, nor to strike the noble for their uprightness.
It is wrong to punish the godly for being good or to flog leaders for being honest.