The text is a common proverbial phrase meaning that when one opportunity is lost, another one often presents itself. It does not play on different meanings of a word or similar-sounding words for a humorous effect.
When one door closes , another door opens .