That might be a truism that's generally applicable, but some people have enough of a safety net to last them several years while building a business. We don't know OP's circumstances.
I'm am not willing to wager my mental health for staying if I feel the current work environment would be detrimental for that.