If you are able to afford to not work and are happy being home for the next 8 months and then beyond with baby then go for it. I think if you are unhappy with your job you should leave regardless and maybe find something you do like, should you want to work a bit for a few more months. If you quit work are you then going to spend your time worrying about other things? Do you cope well being at home and possibly on your own more? Do you have friends who will be around in the day when your hubby is working who can offer company and interests? Will not working cut you off from things? So many things to consider, not just work I feel.
TBH, I'd go out of my mind unless I was working through pregnancy. I only work part time anyway but find being at home 24/7, 7 days a week does my head in. I can't not be doing something somewhere else, some of the time. I like to be constructive and outdoors with my animals or working on my websites and various other things. Visiting friends is something I do occasionally, even the ones that live within 30 minutes drive. Something different and independent of my life at home and hubby is what I strive for. Once baby is closer to being born I shall go on maternity leave for about 9 months and make a decision about returning to work later on. I just don't like the idea of being in the house so much, I'd go bonkers, as I spend enough time there are it is. Work gets me out and about, I see other people and then have something else to keep me occupied.
I think you are a bit of a worrier so maybe not working will be better for you. Just so long as you have things to keep you occupied and interests outside of the home are always important I think. I dread being swallowed up into that homemaker role and losing all the things I have worked for all these years. My hubby understands that and supports me in my choices. I like and value my independence and while I am looking forward to being a Mum and being at home with baby, I do want to try to keep work in there somewhere so as to have my own thing still. But I realise that's not how everyone else would choose to do things
Each to their own.
I don't know, I've nannied for families all over the world over the past 17 years and seen how all types go about it, and tbh, I know what kind of balance I would like to try to achieve if possible for myself. Ultimately though, its what you feel works for you and your family.