In a sense, it hurts but at the end of the day it makes you a stronger and better person for it. It's the silver lining in a bad situation. Certainly going through it is hard but it has just as much benefit in making you tougher and more resourceful should it ever arise again.
"Every adversity, every failure, every heartache carries with it the seed of an equal or greater benefit."
The Unemployed Entrepreneur