Laws commanded that Blacks be slaves, and have all nature of crimes committed upon them. Law in a dozens countries ordered Jews, gypsys, the cripple and lame to the death camps. Laws gave Stalin leave to kill millions.
No doubt you would of obeyed.
God when he released Abraham from killing his son, Isaac showed that even his law has limits.