Agree, you need to make the decision, what’s more important to you him, or a child? And can you live without resentment if it’s him?
It’s as hard as it gets but that’s the choice. He’s made his, and he’s made the right one, as a pp said, an unwanted child is not a compromise. It’s not more acceptable because it’s “just one” unwanted child.
You need to think about the child, not yourself, and what it would be like being raised by a father who doesn’t want them. Who resents them, who resents the mother, of the arguments about who does what, the chaotic environment they’d be raised in. Couple that with the risk you could have a child with significant additional needs, and no matter how much you love them, the complexity that also brings.
So now it’s what’s more important to you and what repercussions are there dor that decision. You can’t stay with him if the resentment will eat you up and kill it anyway. But also there is no guarantee you will meet someone who wants a child, or who would be a good parent, or that you can even have children.
It’s a hard decision but one you need to give some thought to and make a call on.