Stories of successful people witness of their courage and grit how they achieved their goal despite all hurdles. They are torch beareres to strugglers.
And the success of a person also should not overwrite him to lose the touch and rhythm of working successfully towards society. We must strike a balance between successful and unsuccessful attempts and must not disturb our endeavour.
If there is a failure, go on worrying about that will not bring you success. Think about why there is a failure. Understand where you went wrong. Think of corrections required. Do the changes and retry. Success will be yours. This is is how one should behave when there is a failure.