Everyone else is right. Try to line something new up first. But I was once in the position of quitting without something lined up, and the decider for me was that if I didn’t quit, I was likely to actually take my own life. It’s a matter of perspective at that point, and clearly, surviving was the better option.
Electively suffering hardship? Billionaires first, set a good example for the rest of us, and the hardship can trickle down.