I'm not happy that my girlfriend is pregnant
If you're not happy, why you would try to have a child with her?
I didn't want a child with her
You can feel conflicted about your girlfriend being pregnant. But she's pregnant because of you, support her and be responsible.
I will support her as I can, I just wish this did not happen.
It is unfortunate that this happened to both of you. I hope you are able to provide for the child as best you can. It is good that you are willing and ready to support your girlfriend.