This can be said about anything. You are a living being, and therefore threats are posed to your life.
It is natural to have some worry, but fixating on it can cause problems, and may be a sign of generalised anxiety.
There are some things you can do to feel safer, like keeping alarms on you when walking the streets, avoiding going out when it's dark, carrying a legal criminal identifier marker spray. You could even sign up to some self-defence classes and read some articles about safety in these sorts of situations.
Ultimately, it does nothing but harm to constantly worry about this sort of thing. If everyone did this, the streets would be empty and nobody would get anything done. That said, it never hurts to be educated and prepared in case.
If you ever feel like the worry of this is causing you significant anxiety that is impacting your daily life, by all means, know that you can reach out for support at any time through your doctor.