I’m aware that I’m late and I’m aware that you said you might not quit but, here’s what you should do.
Take a break
Doesn’t have to be long
And if you still feel the same then do what you must, if not then stay. Clearing the mind is the best way to overthink something later, so do other stuff so you can focus in your own time and not force yourself to focus