In truth all groups of road users consistently disobey traffic laws, the laws worth breaking just differ from vehicle to vehicle. It's easiest to condemn those that break laws that you aren't breaking, even if you yourself are no less innocent.
Also, a cyclist violating the law is much less dangerous than a driver doing so, the latter has over a hundred times the kinetic energy. So a cyclist might feel that those laws shouldn't apply to them.
The thing is, most traffic laws are designed to keep drivers safe. They’re also designed for cars. Bicycles aren’t cars, and car drivers tend to be impatient and don’t pay attention, so we have to adjust—-which sometimes means, for example, running the red light a couple of seconds before it turns green. Or turning left on a red light, since I’m not crossing any lanes. Or treating a stop sign as a “slow” sign.
(This is a left-side driving country.)
All of that is necessary to keep my life expectancy up. As for the pedestrians, well, unlike a car I’m perfectly capable of spotting their existence. Nor is a slow-moving bike particularly dangerous.
The other 10% is confirmation bias.