The text seems to be a statement or a proverb about friendship, suggesting that a good friend does not cause offense. It does not appear to exploit different meanings of a word or similar-sounding words for a humorous effect.
A good friend never offends .