The text seems to be a variation of the proverb 'All that glitters is not gold,' suggesting that not everyone who speaks kindly is a true friend. It does not exploit different meanings of a word or similar-sounding words for humorous effect.
All are not friends who speak one fair .