The text is a proverbial expression that conveys the idea that being polite does not have a cost but can yield great benefits. It does not play on different meanings of a word or similar-sounding words for a humorous or rhetorical effect.
Politeness costs nothing and gains everything .