If you break your foot, you go see a doctor. If your car is struggling to go up hills, you take it to a mechanic. If your mind is exhausted and your mental health is struggling, you should see a therapist.
I started seeing one when covid lockdowns started coming in my town, and it’s been a life changing experience. They work with you to uncover what is happening, and teach you strategies and ways of thinking to accept or overcome the issues you’re facing.
Right now if your mental health is struggling, it will impact your decision making and so many other aspects of your life. Rather than make a huge decision like quitting a job or career, first go get some help and discuss it with someone who is trained to help. All the best.