This is going to sound crazy. But it works. Go for a long walk (1 hour) and talk to yourself out loud. Ask yourself how you feel, why you feel the way you feel, explain to yourself what you truly think about your work, relationships etc. Be totally honest with yourself. Make sure you do this away from people so they don’t think you are crazy :-) The trick is to be two people. Yourself asking the questions and yourself answering them as honestly as possible.
Your comment reminded me of a Will Smith quote from many years ago where he talks about Running and Reading. He shares that running teaches you to overcome self doubt. He then talks about how reading helps you because anything you’re feeling, someone has gone through before, and you can learn how they handled it.
Not strictly relevant to the topic, but it remains good advice.