The text is a proverbial expression indicating that foolish people often delight in their own foolish behavior. It does not play on different meanings of a word or similar-sounding words for a humorous or rhetorical effect.
Every fool is pleased with his own folly .