I ride a bicycle as my primary means of transport. I strictly obey traffic laws, and on almost every[0] journey I see motorists breaking traffic laws. Where I live, it's illegal to cross a solid white line that borders your lane to overtake somebody unless they are traveling at less than 10mph. I never travel that slowly, but motorists routinely cross solid white lines to overtake me. I estimate only about 1% of motorists obey the law.
To be fair, only a minority of those illegal overtakes are actually dangerous, but the same is true of most traffic law violations by cyclists.
[0] Extremely short journeys, or journeys very late at night, might encounter no motor traffic in a position to break the law.