Is it OK to leave your pregnant girlfriend?

OK before everyone thinks I'm a monster, I did not want a child. She said she was on the pill but she lied. I'm not ready for a child. No way. I want to leave her because I can't deal with a child right now. Is it unfair to leave her pregnant? Or am I in the right?
Updates
+1 y
I'm genuinely shocked at how some of you replied to this. Saying how I have to face responsibility for my actions. How come women can get abortions on demand and men can't have an equivalent? That's straight up unfair. Women have more rights than men is what that means which is unfair. Why are women entitled to consequence free sex and not men?
Is it OK to leave your pregnant girlfriend?
Post Opinion