Feeling a failure is a horrible feeling. I've been through it. So much that we don't want to try for anything else, because what is the point? we won't get that as well.
It's a horrible feeling i know, but we have to focus on what we want. Did you know that if we believe we will get something then we get it, so it's easy, we just have to believe it, but sometimes it's not that easy, because of past failures then we can not get to a state of belief, or it keeps moving from belief to non belief in that thing and it creates frustration inside of us. So we have to in that case remove any past negative beliefs in regards to that topic, then we will be free from it and naturally start believing and expecting it. The negative beliefs and the past issues if any blocks us from getting the things we want in life, that is why we feel fruistrated at times