How do single pregnant women afford rent and bills if they can’t work?

Let’s say you are single mom and guy dumps you after you get pregnant and you neevr lived together and you live alone. How do you continue pay your rent and car bill and everything if pregnant woman cannot work and need rest at home eat cravings all day? I never understood this? Let’s say you have no sisters no family. What do girls do? I’ve always been curious. Do jobs just fire you for being pregnant or after you give birth or what?

Updates
2 mo
IM NOT PREGNANT!!! I just am wondering what single girls do it’s always been something I’m
Curious about
How do single pregnant women afford rent and bills if they can’t work?
Post Opinion