Changing your perspective can be important here, and optimism can be useful to nurture and uphold. Martin Seligman is a renowned psychologist researching such topics, and his book Learned Optimism [1] is illuminating. My father introduced me to this book at point in my life where I was questioning my own abilities and my own future. It helped me breakdown negative thought patterns.
I've also recently learned that Coursera has a Foundations of Positive Psychology Specialization [2] put on by UPenn (where Seligman is a professor) -- it includes a course on Positive Psychology taught by Selgiman.
[1.] Learned Optimism: How to Change Your Mind and Your Life - https://www.amazon.com/Learned-Optimism-Change-Your-Mind/dp/...
I've also recently learned that Coursera has a Foundations of Positive Psychology Specialization [2] put on by UPenn (where Seligman is a professor) -- it includes a course on Positive Psychology taught by Selgiman.
[1.] Learned Optimism: How to Change Your Mind and Your Life - https://www.amazon.com/Learned-Optimism-Change-Your-Mind/dp/...
[2.] Coursera Specialization: https://www.coursera.org/specializations/positivepsychology#...