Am I capable of doing PhD based on my advisor's words? I am average student completed my under-grad and grad studies successfully. I am doing PhD since 4.5 years.

I was a hard-working student. I was a self-motivated student always wanted to do PhD and stay in Academia. I was hoping somehow my work will help to world.
If I compare playing tennis to a PhD studies, I feel like my advisor is breaking my racket to motivate me and I cannot keep up with a broken racket, which is my will to move on.

These are the some stuff that my advisor told me multiple times. I cannot forget or over-write them:

&quot;You disappointed and hurt me. I don't know what am I going to do with you.&quot;
// One year later, during a meeting over zoom, when I told him that these words offended me and I do not want to hurt you anymore, he just closed the zoom meeting to my face saying I am not your psychologist.

&quot;You are like a turtle. You can't even graduate in 20-30 years.&quot;

&quot;You are bad at time management and always lost in details.&quot;

&quot;Your model is junk. I won't write my name on top of this model.&quot;

&quot;Even high-school students won't make the mistakes you do. Should I keep going?&quot; [Me]: &quot;No, please don't.&quot;

He threw a book at me and told me that: &quot;You should learned from it&quot;

He keep showing his other students Ph.D. saying: &quot;See how good they are writing, you should write like them.&quot;


In front of all the jury members he also mentioned:

&quot;I am giving you F to motivate you. I trust you keep working.&quot;
&quot;I never helped that much to any of my student in my life. I don't know what I can do more.&quot;
&quot;I start to understand the way he thinks and explains his work after 4 years. He is very complex.&quot;


Everything boiled up when I get F from my progress on my PhD studies. All lead to depression and anxiety.
Overall, I am not blaming my advisor, instead I chose blame myself and think over the following questions:

Where did I do wrong? What did I do to deserve all this?
Why did I start PhD journey?
Did I lost most important years of my life for nothing?
If I have chosen a different advisor, would it be the same?

All these let me to realize that I actually not capable enough mentally and emotionally to be successful in PhD or even in any job from now on.
=&gt; Should I conclude that I am not capable enough to do PhD with the words of my advisor? or Should I give myself another chance?
Note: If this is not a proper question to ask, I can delete right away.
Though I can't relate to your situation, I have friends who were in a similar situation during their Ph.D. They were mentally abused and constantly demeaned by their advisors. Though this behaviour is predominant in South Asian universities. But it's quite prevalent in many western universities too. However, all my friends who went through such hard times, they did one common thing, they persevered.
They did not lose hope and did whatever was necessary to get the degree. After they graduated, they went their own way and are leading happy lives years after graduating.
What I trying to say is, you know that you are hard-working and a good student. What you are going through is because of your circumstances. You have worked hard for the past 4.5 years on your Ph.D., don't lose hope now. Do what's required for being eligible to defend and then change your circumstances.

All these let me to realize that I actually not capable enough
mentally and emotionally to be successful in PhD or even in any job
from now on.

Don't focus on something that hasn't happened yet. Your job now is to complete your degree. Don't worry about the success and job at the moment. Those will come. You are capable, that's why you are in a grad school.