Fortunately, however, during times of comparative ease, periods before or after acute experiences of suffering, we can reflect on suffering, seeking to develop an understanding of its meaning. And the time and effort we spend searching for meaning in suffering will pay great rewards when bad things begin to strike. But in order to reap those rewards, we must begin our search for meaning when things are going well. A tree with strong roots can withstand the most violent storm, but the tree can't grow roots just as the storm appears on the horizon. So ...
— Dalai Lama
from The Art of Happiness