Building resilience in the face of setbacks