By sticking it out through tough times, people emerge from adversity with a stronger sense of efficacy.