Comparing?

My mom does this thing where she compares everything I do/can't do to her when she was my age. 
Example, "when I was your age I went blah blah blah by myself" 
Like ok???? Why does she constantly compare me to herself? Like she's better than me? 
She also makes sure that I know that she did things alone when she was my age. And she thinks it's ridiculous that I'm scared to go to the store alone at night (I have had many close encounters with older men when I was younger) I've almost been kidnapped. 
What's her deal?