It’s true. It can be dangerous riding a bike on a road meant for cars.
Some accidents happen even when the bicyclist or car driver made no obvious mistakes.
People also hit cars with their cars.
Getting hit by a car while on a bicycle is considerably more dangerous.
Sitting in a car also shortens your life and exercise extends your life. You have to weigh the benefits against the risk. There is a lot you can do to avoid getting hit by cars.
I would only do this in a place with separate bike lanes.