I don't recommend quitting a job just so you can study for these exams. I've known a couple people who did that and they regretted it big-time later.
Work part-time, do something. But to walk away from the working world is not a good idea. Just my $0.001. Employers do not like seeing employment gaps
and many (I'd say most) companies will not interview someone who isn't currently employed.
You might consider taking a break from the CPA process for awhile. For over a year, I divided work and studying.
I've only been working as an accountant for 3 years. Graduated with 2nd bachelors in accounting in 2014. Before that, I worked in a completely different
field. After not passing FAR, AUD, and BEC, I decided to put my studies on hold until January 2018 just to give my brain a chance to cool off.
I had a 3.9 in school, yet for some reason I haven't been able to wrap my head around these crazy tests…yet. So, if you're currently on a failing streak,
you may want to take a couple months off and create a new plan or simply give yourself a chance to unravel. Too many people, including many on this forum,
are hell-bent on passing as fast as they can and think that the sky will fall down if they aren't a senior in B4 by the time they're 26 or not earning six figures
by the time they're 30. They're not patient with themselves and a lot of them burn out very fast. Don't be like them. As someone who is a bit older, let me be the first
to brag to you about how truly LUCKY I feel that I got my second degree and am doing these CPA exams when I am. If I'd tried to do it in my 20s, by now I'd be sick and
tired of it all and although I'd probably have more money in the bank than I currently do, I'd probably be sick and tired of accounting. By the time I retire, in another
maybe 25 years, I'll have had my career in accounting that lasted about 28 years (and not like 42 years doing the same damned things every single day). And, I won't have burned out.
And, I will still have earned a lot of money, enough to take me thru the rest of my days. haha
Best of wishes.