Please don’t confuse what is legal with what is right. There is some overlap, of course, but not as much as one might think. Laws are generally written by the rich and powerful to protect their interests, often at the expense of the poor and weak. Many atrocities are lawful, and many acts of mercy are unlawful. I say this as an attorney.

“When, in the course of human development, existing institutions prove inadequate to the needs of man, when they serve merely to enslave, rob, and oppress mankind, the people have the eternal right to rebel against, and overthrow, these institutions.

The mere fact that these forces inimical to life, liberty, and the pursuit of happiness are legalized by statute laws, sanctified by divine rights, and enforced by political power, in no way justifies their continued existence.”

That’s from 1909, by the way. 114 years ago.

“A New Declaration of Independence” by Emma Goldman

https://en.wikisource.org/wiki/A_New_Declaration_of_Independence

A New Declaration of Independence - Wikisource, the free online library