I think quitting your job isn't the best thing to do as of this moment. You might have said that because you feel so burn out and so tired that right at this moment, you only want to sleep soundly on your bed.
I'm not good at advise but I think or should I say recommend that you take a leave from work, try to freshen up yourself and just do whatever it is that you want to do. By doing so, I think you'll get the chance to decide properly and in an unbiased manner. Have a nice day and be happy always.