Original: Wo Recht zu Unrecht wird, wird Widerstand zur Pflicht.

“Recht” means “right (to sth)” in the legal sense or “the law” and “Unrecht” is “wrong” as in “being wronged” or a morally wrong thing.

Often attributed to Berthold Brecht but probably not originally written by him.