Plato said this quote

Injustice is censured because the censures are afraid of suffering, and not from any fear which they have of doing injustice.