as/when one door closes, another one opens - definition and synonyms

phrase
  1. used for saying that even though you have lost an opportunity to do one thing, an opportunity to do something else has appeared
See also main entry: door