W. Somerset Maugham said this quote

I can imagine no more comfortable frame of mind for the conduct of life than a humorous resignation.