Everyone has a responsibility for their own safety. We should do what is reasonable to reduce harm and risk to others, but there is only so much that can be reasonable. If a person wears dark clothing, doesn’t use crosswalks, doesn’t check for cars etc at what point does their safety become their responsibility?
That’s the peak of self defence. No one is mugging someone carrying an arming sword or rapier.
Yo u want to break into my house? Cool I have a pike with your name on it and a long hallway.