I am sorry your Dad said such cruel things. My parents also often compared me to my cousins and talked about how they worked harder than me and did better. It was very hurtful.
I also had to take a break from school due to mental health, and it took me longer to finish my MA than all my classmates. But I did it! It is not at all easy to go to school with mental health issues, and I think you should be proud of yourself.