Seneca said this quote

So let those people go on weeping and wailing whose self-indulgent minds have been weakened by long prosperity, let them collapse at the threat of the most trivial injuries; but let those who have spent all their years suffering disasters endure the worst afflictions with a brave and resolute staunchness. Everlasting misfortune does have one blessing, that it ends up by toughening those whom it constantly afflicts.