Motorcycles are not safe, and certainly not safer than cars. However, you can reduce the extreme fatality rate significantly if you cut out drunk riding and even more so if you have more than six months of experience and wear all the gear all the time. It’s a risky activity that attracts people that don’t make smart decisions. When I got my license, the five others in my class all owned a motorcycle and rode them for a year without a license or training.
It’s a weird activity that’s simultaneously very unsafe due to car drivers but also due to the average rider themselves.