> then you shouldn't make the choice to have kids
Contributing genetic information and some parenting can be a net positive even if the parent is ultimately absent (for whatever reasons).
Take the extreme case of a parent who disappears just after the child's birth. The other parent may still be thankful to have the child, and the child may still be a credit to society.
Is the disappearing parent a good parent? Not really. Should he/she have never had the child, as you suggest? Well, that's up to the child, really.
I.e. it's hard to fault your parents for making you, whether they're good parents or not.
Do you have kids? It's relevant because I used to make arguments like yours until I had a child and realized how much more nuanced these arguments actually are.