The text is a proverb suggesting that it is better to agree to a less favorable outcome than to go through a potentially costly and uncertain legal process. It does not play on different meanings of a word or similar-sounding words for a humorous effect.
A bad settlement is better than a good lawsuit .