Resilience is not a trait you inherit at birth. Instead, it's something you can learn, and even practice, every day. "Resilience is not a fixed personality trait. It's a lifelong project."
Resilience, IMO, comes from facing Life. Life is full of positive and negative experiences. Facing them, learning from them, and moving on builds resilience in those who are persistent and faithful to the missions and goals they have set for themselves.