When one hates their job and desperately wants a new one:
(a) I could look vigorously for a new job while I'm still employed and then try to "transition" from one job right into the next (for purposes of stability, etc.)
(b) I could just quit my job right now on the spot because I only live once and if I hate what I'm doing, then I'm not really living much of a life. Therefore, quit and know that something will indeed come along. (Some very successful entrepreneurs have been homeless at one point or another before they made their money, for example. They'd rather be homeless and working on what they love than to be in a house and hating what they do).
(c) I could quit my job and take that part-time position at the gas station for now. It doesn't pay much, but it will free up some of my time to look for something else or maybe spend more time with friends, etc.
(d) I could quit and take a vacation to Europe for a month. Then come back and look for work. Yeah, I've always wanted to do that.
The list could go on. When brainstorming something like this, every single option should be out on the table and up for discussion. Only considering 2 options when, indeed, there are hundreds, only limits you. 100 ways to skin a cat, as they say.