I think that's one of the most discriminatory and down right sexist things I've heard in quite a while. If the only thing a woman has to fear in all the world, is that I happen to be walking behind her on the street at night, she's golden. Not all men are rapists. In fact the majority of us aren't. I'm not sure you're aware of this but sexism goes both ways. It works against men also.
I'm sorry you had a bad experience with some bad men but please do not take it out on all of us.