This is a very selective view, and it's inaccurate in several ways. It's flat out ignorance to claim that car drivers follow the speed limit, reliably stop at intersections or stop lights, etc. Where that's true, it's only to the extent that there's heavy enforcement — here in Washington DC, I rarely make it a day without seeing someone in a car running a stop sign or going the wrong way down a one-way street (in front of a playground, too), and slowing for a school zone means going from twice the limit to rolling the stop sign at 10mph while using a phone.
That brings me to the second flaw: you have to compare the risks to others — that is, after all, why we care in the first place. A bicyclist, even on an e-bike, is much, much, much safer than someone driving a car for many reasons:
1. they're accelerating slower to a lower maximum speed
2. they're exceedingly unlikely to be distracted by a phone or entertainment system
3. they have far less kinetic energy because the combined weight is a tiny fraction of a car or especially the massive SUVs and trucks which have become endemic
4. they need far less distance to stop
5. they aren't insulated from their surroundings with metal and glass (no blind spots) and not having engine noise or a sound system means they can hear other people, too
6. they have better steering
7. they need need far less space, which means that it's far more likely that they can avoid a collision, especially combined with the previous points making them more likely to notice in time to react.
Put all of that together and you are left comparing people driving cars, who kill the equivalent of a medium-sized city and severely injure an order of magnitude more people every year, to bicyclists causing a tiny fraction of those injuries. While it certainly makes sense to build infrastructure which improves the safety, it's nonsensical to ignore the cause of almost all of the roadway deaths