Rather than quit right now, I'd suggest you try to get a leave of absence. Amazon is a meat grinder, but they've got a leave policy, and it'll probably be better for you to take some time on a leave than to take some time unemployed.
Right now I'm just taking PTO, which is very limited, after an ER visit for stress related chest pain