How a guy friend of mine told me that I can never be someone's friend

Wondering why a guy friend is always interrupting in every matter of yours?
Let me tell you, there was this guy I was friend with. We'd go to classes together, and eat together. So basically it was fun being around him.

Months were passing by and he began to be extra protective all the time. If I'd go meet a new guy he would tell me how misogynist that guy is or simply he'd bring some stories about that person so that I can avoid him.

On days he'd come and hold my hand in front of my friends showing how close he is to me. Initially, I avoided these things and thought it was very normal in today's world. But then I started to realize that not even a single guy would stick around me because of him.

Later after years, some old friend of mine told me that he addressed me as his girlfriend and I was completely unaware of that. His insecurities bought him to the place where I hated to be with him. I stopped talking to him and tried maintaining a distance.

But again he started fighting over texts and waited outside my house for hours to talk. I explained everything and asked him to leave me alone for some time. But he'd not shut up and kept telling me how important I am for him and my other guy friends are non-platonic whilst touching me inappropriately.

I talked to my close friend and she dragged me out of the situation.

He kept apologizing and asked for a second chance. I denied it politely and after some days he met me in college and said in front of everyone- "What do you think of yourself? You ruined my life by not being mine. Let me tell you very clearly that you are a girl and you can never be friends with guys."

Initially, I was disturbed and his words were haunting me. But soon after I made very good friends and yes of course most of them are guys. ;)