Adapting to conditions means that we should do our best within the limits of the constraints of our environment. If our circumstances are fortunate or something good happens to us, we should not be overly excited, because good fortune, like bad, is a result of karmic retribution. The practice of adapting to favorable conditions means that we accept our karma or "cause and consequence" without being overly joyful or self-satisfied.

Master Sheng-yen, Subtle Wisdom