Doesn't that also imply that life is a sort of punishment? Once you get the lesson, you are no longer forced to play the game?
I guess it depends on your personal outlook.
c.f. notions of transcending for other possible interpretations.
I think rather than punishment, it's more like a lesson. And dukkha is often mistranslated as "suffering", but in reality it's closer to dissatisfaction or unhappiness (sadness) rather than suffering.