If you live a miserable life. It depends on what you define as miserable: no career? being poor? never falling in love? etc. No matter how terrible your life may get, there are lessons
Though I strongly believe you gain the most insight and grow the most as a person when you go through times of tribulation, I would probably still take the easy way out and choose to not live at all.