An unjust law is no law at all
An unjust law is no law at all (Latin: lex iniusta non est lex) is an expression in support of natural law, acknowledging that authority is not legitimate unless it is good and right. It has become a standard legal maxim around the world.
Source: Wikipedia — An unjust law is no law at all (CC BY-SA 4.0)