My advice. Do not give up your job to be full time SAHM unless you have to due to logistics, costs or special needs of your children.
life has a habit of throwing curved balls just when you think everything is going well.
I worked part time for 5 years. Planned to continue that until for 8 until youngest was in school FT. When I had 2 dc it was actually costing us for me to work while we paid for nursery for a period of about a year. But we agreed I would continue to work because it meant I had career continuity to help me seamlessly go back full time once DS were at school, it also paid a pension (which I’m glad of now as I retired at 55), and gave me the sanity of adult conversation and purpose. Do not underestimate the sheer druggary of being at home with children for a lot of the time and the soul destroying fact that all the domestic labouring you do will be undone by the following week and you have to do it all over. It would take a extremely boring and terrible job to be worse than the worse days of being an at home mum.
but here’s the most important thing…about 5 years into my grand plan of working part time till dc both at school, my ExH became seriously unwell. He had to stop working altogether for a time, then worked intermittently as he was constantly hired and fired for the next 10, then couldn’t work ever again when he got to his late 40s. I HAD to go back full time and bring income in to support us. If I hadn’t of kept my fingers in my career pie during those earlier child raising years, I’d have found it very hard to get the career I did and earn what I did to support us all. Mine was the stable career while he struggled continuously to hold onto work. It literally kept the roof over our heads.
and when we divorced (after I retired) I was even more glad that I’d had my career and earned my pension, been able to pay off mortgage so that we could both separate reasonably comfortably and amicably. We aren’t wealthy now, but at least we could each buy a house and have a comfortable pension income
there were time I hated my job. I struggled to go into work. Struggled to be motivated. Got overwhelmed by shouldering the responsibility of trying to do it all with a career and kids. But keeping my focus on the bigger picture is what matters. Sure, if your mental health is being affected, or your in a situation where you’re being bullied or harassed I’d not stay in that job. I’d wait until I got maternity leave completed and then look for something new. But I certainly wouldn’t take the risk of not having a job at all to fall back on if the shit hits the fan, and to ensure I provided for my own future security