A standard of living in 2022 wasn't achievable at any cost 50 years ago; the reason both people want to work in a modern family is that it gets you more money and they want to spend more.
You'd only want to not work if your job couldn't effectively contribute to the household (you're already rich or your spouse is a super high earner) or else you can't pay for the childcare work you're no longer doing (you're poor). Both of you working is a sign of being middle class.