These days, the message I have been getting from around me is to never give up. Coincidentally, I found this quote written on a paper under my table. Wonder who the author is.
Many a times, we tend to focus too much on our failures, but neglect that life is a journey. A failure is just a singular event that does not account for the whole journey. It would be useful for us to learn from that failure and persevere in the right direction. Treat every failure as an indication to the direction of success.