Yea, when the hell is over, the pain subsides, when you look back and analyze what happened, then you start appreciating how life worked out to teach you something. There should be no resentment left though, otherwise the picture would be skewed.
I appreciate my lessons and even those that I'm in the process of learning now, through lots of pain. I know that there's a reason why I'm going through stuff and I also know that I will come out of it stronger and wiser, but just at the moment it's hard.
However, so far I've learned quite a bit and feel good about myself and my development.