I worked at a crisis pregnancy center for years.
Generally, if the dad wanted to keep the baby, the baby was kept. If he didn’t, it wasn’t.
There were a handful of exceptions, both ways. Counseled a couple of anguished men whose kids were killed and they could do nothing about it. Also many women who did not want the father to even know, one night stands, flings, that sort of thing.
Counseled. . . TWO married women. TWO.
Conclusion: Wait until you are married to have sex and a lot less children will die.