Punished for having a baby at 23

I'm a 23 year old doing my final year in Accounting and I'm about to pop my bundle of joy very soon. I live with my uncle he has been my guardian since my parents died. I went through all the motions of letting him know I'm pregnant and stuff , and he has kept punishing me for being pregnant. Honestly I feel like I'm not a teenager and I do have my life in order than most would I work , go to school and have an income to actually look after my child. I'm in a healthy relationship just unfortunately due to life my bf isn't in the same country as me since his visa expired but he is trying to get back into the country.
Throughout this process I haven't received any support from my uncle who has been a father figure in my life. Instead he has repeatly made sure to make my life difficult and to exclude me from any family activities. 
I just can't take being punished for being pregnant my entire life just cause I didn't do it the normal way.
I wonder is it fair to be repeatly punished for it?