The text is a proverb or saying that conveys a general truth about the value of an object being equivalent to what it can be exchanged for. It does not exploit different meanings of a word or similar-sounding words for a humorous effect.
The worth of a thing is what it will bring .