When we encounter a negative situation we have a choice, we could either be in that situation for a considerable amount of time and curse or we could leave it as soon as possible. If you have a choice you should leave because being in the negative zone can not do any good to you.
Of course, this could not be generalized since we don’t own our surroundings every time and sometimes we have no option but to be in that situation. In those cases surviving those moments would also be considered as an achievement.
It’s important to be in those moments, it helps us grow in ways which we would never understand fully perhaps. We need the negative moments in order contrast them from the positive ones and be grateful for them in the future.