When one door shuts, another opens.

一扇门关上了,另一扇门就会打开。