When one door closes, you can re-open it. That’s how doors work.
The motivational saying says that when one door closes, another opens. That’s great and all, but you know you can re-open the same door right? It’s not closed forever. It may be locked, but still, find the key and unlock it.