One thing others haven’t mentioned: most states accepted the ACA Medicaid expansion, which means most poor people qualify for Medicaid (at least in 80%ish of states). Medicaid is pretty cheap out of pocket. It can get complicated around who accepts the insurance, but almost any hospital where you go to give birth will.