逆境顺境看襟度,临喜临怒看涵养。

Adversity and prosperity reveal one's breadth of mind; joy and anger test one's self-restraint.

Source: Tatoeba

Sentence Composition