
Not the end of the world
Stress Reduction
It's used to comfort and to suggest a problem is manageable, reducing stress over the issue. 
Perspective
Helps to give perspective, signaling a setback is temporary and not catastrophic. 
Emotional Tone
The phrase often carries a light-hearted or optimistic tone, even in disappointing situations. 