The text is a proverb suggesting that people who are unhappy may get some consolation from knowing that others are unhappy too. It does not play on different meanings of a word or similar-sounding words for a humorous effect.
Misery loves company .