Challenges teach resilience