What you are feeling is normal. Take a look at the book Why we do What we do: Understanding Self-Motivation by Edward Deci for some insights. Relentlessly work on improving yourself to get "better" at various aspects of "Programming" (assuming that is what you want). Don't compare yourself to others, focus on incremental improvement everyday and set your own Goals/Criteria. Become Self-Driven and proceed at your own pace.
Drops of Water, if they fall continuously, can bore through Iron and Stone - Chinese Martial Arts Saying.
but if it helps you ....
Nope.
There is a reason i mentioned Deci's book; i highly recommend going through it. Peak: Secrets from the New Science of Expertise by Anders Ericsson is also relevant here.