What should be a happy day isn’t :(

After trying for so long, today I found out I’m pregnant ! What should be the happiest day of my life ... isn’t so happy. My boyfriend who I was friends with for 7 years and have decided to finally be together and have been planning to have a baby and a life together for the past 6 months. We got in a fight early today and he said some things that hurt my feelings, so I ended things. Well, come to find out I was pregnant ... I tell him and he responds with “ I definitely don’t want to have a baby especially after all of this” I am completely torn, sad, happy, upset, shocked, nervous. How could he do this to me? I don’t know what to do. I have prayed for many years for a baby I am now 30 and when I finally get my blessing he is ripping it from me. I’ve told my close friends and most of them are being very supportive while one is telling me it isn’t right based off his actions and words. Has anyone been in this situation? What did you do? What should I do? I am in complete disbelief.