To deal with life, some people use the method of embracing suffering, in expectation of future happiness.
This helps them to cope.
Buddhism and Taoism teach the way of non-attachment, clinging neither to pleasantness nor unpleasantness.
This allows them to be at peace.
Walk as you are, come what may.
Dance as you are.
Come what may.