The text is a humorous statement that plays on the literal image of someone attempting to play leapfrog with a unicorn, which would be unwise due to the unicorn's horn. It does not rely on different meanings of a word or similar-sounding words for its humor.
A truly wise man never plays leapfrog with a unicorn .