It's difficult not to be discouraged when we're striving for something and it doesn't work out. Maybe it's a job, goal, contract, business, promotion, some type of competition, etc. When I find myself in such situations, I usually do the following: 1) allow myself 15 minutes (if that) to feel sorry for myself, 2) get some distance from the situation (as much as necessary/possible), 3) assess (with feedback, if possible) what I could have done better, 4) make any necessary improvements, and 5) move on. It may not be easy, but I've learned not to focus on losing what is someone else's blessing. There's nothing in that for me, other than frustration, resentment, envy, jealousy, or some other type of pain. Instead, I work on bettering myself because there will be a payoff. My blessing is on the way. It may not come in the way or time I expect it to come, but I keep the faith that in due time things will turn in my favor. Because when it's my time it's my time, and what's for me is for me!