The law has very little to do with “good and bad”; the law is about structuring society. It seems to me that you’re stuck in Kohlberg’s stage four of moral reasoning (conventional). Try to think over justifications of laws and maybe get to post-conventional stages. You’ll be a better person for it.