Stupid, stupid, stupid. Leaving without anything lined up.
But upon reading further you talk about another job, is this the only solution you can see? Another job isn't the only thing you can do - there is a whole world of opportunity, grab an atlas and take a good look.
You can line something up, doesn't have to be a job.
Why not move to another country and make a completely fresh start? It's the best thing I ever did, and no I don't have a job
Quite a while back I wrote an article
10 reasons to not quit your day job which covers some other points.