I like the books What to Say When You Talk to Your Self
and Learned Optimism
Steve's post How to Stop Complaining is also good: http://www.stevepavlina.com/blog/200...p-complaining/
And you can take the tips from the post How to Help Negative People and apply them to yourself: http://www.stevepavlina.com/blog/200...gative-people/
It sounds like negative self-talk is holding you back. Here's a couple of things to try:
1. When you look at a job posting, tell yourself the reasons you will get it. It may sound deluded, but this approach is more psychologically healthy than negativity.
2. Instead of comparing yourself to people who are doing better, compare yourself to people who are doing worse. This is also psychologically proven to reduce feelings of distress.