William Hazlitt said this quote

The art of life is to know how to enjoy a little and to endure very much.