Im currently going through the same thing.
You raise a really good question about the importance of earning agood salary,
I just recently let go an oppurtunity for a secure position on a decent salary, and I have personal expectations and responsibilities I need to meet. I start a new role on Monday, with flexibility and no security of a steady income. For me the anxiety was too intense to return to my previous role, doesn’t mean I could not have succeeded, people liked me and I imagined they were to some extent in their own way were dealing with the same thing.
I suspect you would be a valued member of your employment. Are their avenues within your company where you can talk to someone? Reach out without the recourse we all feel might happen? there are resources away from the company aswell for example a GP, who can help you find a course for helping you with your anxiety.
Your not alone, I’m finding my way aswell.