idiom
when one door closes, another opens
cuando una oportunidad se pierde, aparece otra
Meaning
when one opportunity is lost, another appears
Example
Don’t be upset about the rejection—**when one door closes, another opens**.
No te pongas triste por el rechazo—cuando una puerta se cierra, otra se abre.