Berean Standard Bible (BSB)
It is surely not good to punish the innocent or to flog a noble for his honesty.
World English Bible (WEB)
Also to punish the righteous is not good, nor to flog officials for their integrity.
Strong's King James
Also to punish{H6064}{(H8800)} the just{H6662} is not good{H2896}, nor to strike{H5221}{(H8687)} princes{H5081} for equity{H3476}.
The F.O.G *
It's not good to penalise the innocent, Beating the noble for straightness (uprightness).
The F.O.G Message *
Young's Literal Translation
Also, to fine the righteous is not good, To smite nobles for uprightness.