The text is a proverb meaning that every bad situation has some good aspect to it. It does not play on different meanings of a word or similar-sounding words for a humorous effect.
Every cloud has a silver lining .