Discouragement is not always a bad thing. You don't waste time trying to be a professional basketball player if you don't shoot well for instance (hmmm resemble that).
Discouragement can get us to spend more effort proving ourselves. The effort it takes to be great is worth more than instant glory ever was.
However, you must find people who have struggled and succeeded. They will understand your pain, the struggle and tell you how they got past the trying times.
You would be surprised who tried to discourage me hunting for work, and how much belief in my gifts had to carry me. But it was not always enough.
However I was very discouraged one day, and in prayer got an answer "You are my good boy, and I have important work for you to do." came back to me. That was the best response I could have had.
So if you want to do God's work here today. Find someone to encourage. God bless.