William Blake said this quote

It is right it should be so;Man was made for joy and woe;And when this we rightly know,Thro' the world we safely go.Joy and woe are woven fine,A clothing for the soul divine.Under every grief and pineRuns a joy with silken twine.- Auguries of Innocence