Where one door shuts, another opens.

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