Resilience is ability to recover and bounce back from failure or other difficult situation.
Psychologists define resilience as the process of adapting well in the face of adversity, trauma, tragedy, threats, or significant sources of stress—such as family and relationship problems, serious health problems, or workplace and financial stressors. As much as resilience involves “bouncing back” from these difficult experiences, it can also involve profound personal growth. This is definition on apa.org. Read more in their article about building resilience.