"If you get fired, you want to move on as soon as possible, looking forward to your next job and your better life. You want to look back and say: you know, that was actually a good thing. Possible? Absolutely.
The truth is that getting fired is one of the best things that can ever happen to you, if you look at it the right way. There is certainly no reason to consider it the end of the world. It can be the beginning of great things. It sounds like a cliche but it is actually true. Getting fired inspires you toward a higher degree of excellence, and it teaches you important lessons about getting overly attached to a single path for your career."
https://fee.org/articles/the-joys-of-getting-fired/
The truth is that getting fired is one of the best things that can ever happen to you, if you look at it the right way. There is certainly no reason to consider it the end of the world. It can be the beginning of great things. It sounds like a cliche but it is actually true. Getting fired inspires you toward a higher degree of excellence, and it teaches you important lessons about getting overly attached to a single path for your career."
https://fee.org/articles/the-joys-of-getting-fired/