That is a result of bad law. Examples: The byzantine and exploitative tax code (full of loopholes for favored special interests, thus transferring their share of the load onto everyone else) encourages tax cheating. The practice of using traffic enforcement for revenue rather than safety breeds contempt to speed limits even when they are set based on legitimate engineering criteria.
What about the fact that the marijuana supply line is a violent lawless murdering entity which takes over more of America each year?
That is a result of prohibition, as demonstrated by the before-and-after experiment with alcohol prohibition.
The example you set is that it is OK to ignore bad laws. I try to each my kids that there are bad laws, but they should still be obeyed. “What if everyone in society ignored all the laws? Would you want to live in that kind of society?”