Martin Luther King, writing from the Birmingham jail where he was biding his time after being arrested for non violent civil disobedience had this to say about the difference between just laws and unjust laws.
An unjust law is a human law that is not rooted in eternal law and natural law. Any law that uplifts human personality is just. Any law that degrades human personality is unjust. All segregation statutes are unjust because segregation distorts the soul and damages the personality. It gives the segregator a false sense of superiority and the segregated a false sense of inferiority. Segregation, to use the terminology of the Jewish philosopher Martin Buber, substitutes an “I it” relationship for an “I thou” relationship and ends up relegating persons to the status of things.
The Vice President elect of the United States of America has just promised that his administration will move swiftly to withdraw the civil rights of LGBTQ citizens of his country. It is probably worth having in your pocket a good working definition of the difference between just and unjust laws.