It is often found that passion can be fleeting in nature. You may start on a venture with great fervor and gusto, but it might so happen that after a few days, you will experience the wind getting knocked out of the proverbial sail.
It is very important to keep motivating yourself about your dream and where it is that you want to reach in the end. It is only then you will be able to motivate people around you to re-engage with full determination and added energy, even after they have faced defeat in the first round.
Optimism is a term that is repeated often while talking about successful people. It takes a lot to collect oneself after suffering from failure and defeat. Hence, optimism in the face of hardship is a very difficult quality to practice.
In times like these, always remember that it's no use crying over spilled milk; what happened, has happened already. Wasting any more time on grieving over the fact that you had tried hard and yet didn't achieve success doesn't bring any change in your present, other than guilt and shame.