When you think of riding, the elephant in the room - or if you prefer, the SUV at the intersection - is the prospect of getting killed, or seriously injured. Motorcycles are dangerous, so the received wisdom goes.
Well, in some cases, definitely. You can go on Wikipedia and discover that "Motorcycle riders aged below 40 are 36 times more likely to be killed than other vehicle operators of the same age."(“Motorcycle safety,” 2016). You can find all sorts of information, anecdotal and peer-reviewed, that might persuade you to not even look at a bike, for fear you may spontaneously self-combust.
I didn't want to turn this post into a statistical dive, mostly because I find that too hard, and I'm lazy, and honestly, it's been done to death by more qualified people. Have a look around the work for yourself: The reality is, there's a lot you can do to help your dice rolls, and most of it is training and attitude. Every ride is a lesson. The biggest risk, assuming you are appropriately protected and aren't riding like a twat, is still other road users.
Like most things in life, you can go a long way to helping yourself with the right approach.
If you spend any time on YouTube "researching" (looking at crash videos, like some knobber totalling his GSXR on Mulholland Drive) there's a chance you will scare yourself away from riding. I watched - and of course cannot find it now - a video wherein the narrator strongly advised not looking at crash videos for exactly this reason. Likewise, the Reddit board /r/motorcycles tends to have a notable focus on accidents. People like the drama.
I take a different point of view. Look at them, don't shy away from it, because it could be you. Try to understand what happened. Recognise and accept that it can happen. Knowledge and training the rational part of your mind can help keep the anxiety reflex - which is dangerous - away. It surprises me even now how, in times of stress, much my body tries to fight me when on the bike. Nearly all accidents contain useful information that will help the rider build a good mental picture on the street. Also note that in a large number of cases the rider makes a full recovery. Here's a classic example, similar bike to mine: [youtube https://www.youtube.com/watch?v=KovWIY6VSkI&w=560&h=315] If you're new to riding, you'll probably wonder how on earth such a thing happens. Ride a few thousand miles, and you'll understand exactly how it happens.
The other side to this is, we see what we want to. For all those Mulholland Drive bike crashes, there are plenty of cars filmed doing worse in exactly the same place. You have probably known more people that were killed in cars than on bikes.
This is one of the truest things I've read about riding. I wish I knew where it came from; it appears to have originated in Aviation; another pursuit terribly unforgiving of errors. You will have close calls when you start out. As a novice, you are so occupied with simply controlling the bike that situational awareness is very poor. You won't signal, you won't cancel signals (you will usually leave them blinking for about 38 hours), you won't do enough shoulder checks. You'll stall on hills, you'll nearly run wide at stupidly low speed a few times. You'll nearly run wide at stupidly high speeds a few times.
For all that, and well beyond the fear, it's like nothing else. Concentration and relaxation doesn't come naturally to me. On a bike I feel completely relaxed; it is practically therapy. YouTuber TnP puts it well: