I think the person who has had more experience of hardships can stand more firmly in the face of problems than the person who has never experienced suffering. From this angle then, some suffering can be a good lesson for life.
Whoever commits to paper what he suffers becomes a melancholy author: but he becomes a serious author when he tells us what he suffered and why he now reposes in joy.