> I wasn’t going to let my ego get in the way.
Also important.
The rest of this comment is not aimed at you specifically because it doesn't apply to your situation (being laid off), so when I say "you" I mean in the generic sense:
---
When leaving voluntarily, if you realize it was a grave mistake, don't let your ego prevent you from getting back in touch with your previous employer and asking if there's any chance to work for them again, assuming you're prepared to stay with them for an even longer time (this is the important part). The first time you make a mistake like this, it's likely due to lack of experience, you didn't realize how good you had it, or you didn't know it could get this bad, and you learned the hard way.
If it happens a second time tho, that's on you.
Also, remember that taking unpaid leave for a few months might be an option depending where you live. Maybe your thoughts of leaving are just because of burnout and all you need is to take a longer break.
But yeah, first priority is getting a job that lets you stop running through your savings. After you have that and can stop worrying about bills, you can walk your way up again from there with a clear mind.