suggests that
experiencing difficulties or unpleasant times can help people appreciate happiness and favourable circumstances more fully.
After a week of heavy rain, even a brief spell of sunshine felt wonderful. “If there were no clouds, we should not enjoy the sun.”