Pietro Aretino said this quote

They merit more praise who know how to suffer misery than those who temper themselves with contentment.