The text is a proverb or moral lesson suggesting that one should earn something before longing for it. It does not play on different meanings of a word or similar-sounding words for a humorous effect.
First deserve , then desire .