It's anecdotal I know, but as someone who commutes on a bike, the number of times I almost crash by myself per journey is near zero, yet the number of times a car tries to inadvertently occupy the same piece of road as me is multiple.
Here is some data from USA, I've not read it.
"What is safe" obviously depends on who else are on the road.
I like riding motorcycles, but I don't fool myself into thinking that they're anywhere near as safe as a modern car.
In fact, they are responsible for more than 28 times the fatalities per mile traveled than cars.
https://crashstats.nhtsa.dot.gov/Api/Public/ViewPublication/...
I only got my license a few years ago, public transport works quite well here in Norway, seems I haven't yet learned all the sneaky ways bike riders can surprise ya.
That said, I see idiots behind the wheel causing near crashes several times a week so yeah I guess as a rider those scare you a lot more.
Riding through red lights without stopping or yielding to traffic turning right, riding on sidewalks forcing pedestrians out of their way, zipping back and forth between the sidewalk and road, changing lanes without signaling and assuming the cars will read their minds and slow down for them are all things I saw in my few years living in a bigger city with lots of bicyclists.
Never got into an accident with one, but I was a passenger in a car that nearly hit one. She either had psychological problems, or was intentionally trying to get an insurance payout, because she absolutely tried to get hit, then freaked out on the driver when he managed to slow down in time.