It is surely not good to punish the innocent or to flog a noble for his honesty.
To punish also the righteous is not good, nor to strike the noble for their uprightness.