If you've invested enough effort and energy to get to the point where you're discouraged, you're well on your way to success.
Discouragement is a certain waystation on the road to any worthwhile achievement.
If you know enough to be discouraged, and if you care enough to be discouraged, then you've made considerable progress. Learn what the discouragement has to teach you and then continue moving forward. It may seem as though you'll never make it, but in reality you already are. It would be a shame to be stopped by mere discouragement. It is there to temper and harden you, not to stop you.