The habit of losing small battles gives way to losing the big ones. Failure can be permanent only when we fail to notice the regularity at which we are failing. Don't give-up. No opposition is stronger than your courage, make efforts, even if going down is inevitable better go down as heroes & not as sitting ducks.
We cannot judge each minor or even major vignettes of life as a final statement of our worth. The totality of our deeds comprises our final scorecard. If a person struggles in the earnest quest of accomplishing their ultimate destination, their demonstrative sincerity exhibited traveling with an open mind and displaying disciplined application of assiduous effort to improve their own self, while unselfishly avoiding harming other people provides a measure of satisfaction, even if a person fails to attain his or her ultimate visage.