That may be an excuse in some third world contries, but most places have government social programs for such situations, or independant charities to help. There are also more people willing to pay the expenses so they can adopt a baby that in countries like America that is just a cop-out
Do you live in america?
If someone wants a kid that badly they could always adopt any of a large amount of kids in foster care and orphanages.
Not to mention the fact that if abortions were illegal many people would try to keep the kid, knowing they can't afford it leading to more kids in the foster homes and orphanages.