There are too many laws for one person to know about. That is why lawyers specialize. I focus on criminal, driving, and tax offences, though I'll also help with other matters if appropriate.
Even if you know the laws, they are open for interpretation. Yours might not match that of the prosecuting authorities. You can protect yourself as much as possible by relying on a legal opinion.
Just when you learn a law, it changes. If you aren't hooked in to the right information sources, you may not know it changed.
Laws can be too onerous to comply with. Common sense tells you that it is completely out of proportion to do what you have to do to comply with certain laws. This is rarely a defence, however.
Laws are often created in a vacuum for very particular purposes. I call this the Dyson effect. Because of this, laws can conflict with each other. This is especially common if you are dealing with multiple legal or geographic jurisdictions.
The government cannot legislate in a way that will apply to billions of people and result in the same impact on each person. Laws will therefore have unintended consequences. There are those who benefit from the laws, and also those who are impacted in an unfortunate way - they suffer the unfairness of cookie-cutter legal approaches.
There can be contradictions with the wording of a particular piece of legislation and how the courts interpret it. Depending on the circumstances, and the location and level of the court, the judge's opinion might supersede what the legislation says. You cannot simply rely on the wording of the law.
Occasionally the legislation has even been struck down by the courts, but still the government re-publishes that same legislation as if it was current law. Even judges sometimes make decisions based on laws that are no longer in force - one reason you need sharp defense counsel.
Some say that there are universal laws based on a common morality, and that these should supersede society's laws. But that won't stop you from being investigated and/or charged when you run afoul of a human-made law.
You can receive practical and reliable advice from me about human-made law. I will give you an opinion in which you can have confidence and that will give you a measure of peace. Call me at 613.203.4874, and visit my website by clicking here.