"Differences in wealth, education, tradition, religion, language or race may today become the cause of differential treatment on the pretext of a pretended principle of social justice or of public necessity. Once such discrimination is recognised as legitimate, all safeguards of individual freedom of the liberal tradition are gone. If it is assumed that whatever the majority decides is just, even if what it lays down is not a general rule, but aims at affecting particular people, it would be expecting too much to believe that a sense of justice will restrain the caprice of the majority…"
https://en.wikiquote.org/wiki/New_Studies_in_Philosophy%2C_Politics%2C_Economics_and_the_History_of_Ideas