You don’t have to carry a knife everywhere you go. However, if you’re walking alone, it’s a good idea to hold each of your keys between your fingers or a pepper spray that you can prepare it at home with easy ingredients so that you can use them as weapons if someone attacks.
It’s better to be safe than sorry!