Maternity Leave/Quitting

I'm 23 weeks and 3 days. I work as a server and am in so much pain at work to the point where I feel like I can't walk. I talked to my doctor and he said it's normal. I can't handle it though. My boyfriend makes enough money to ensure we have everything and he wants to me to quit. I just don't feel like a good mom/gf if I quit my job. I don't know what to do. Anyone else have this problem?