The text is a proverb suggesting that merely wishing for something does not make it come true. It does not play on different meanings of a word or similar-sounding words for a humorous effect.
If wishes were horses , beggars would ride .