The text is a proverb illustrating a chain of causation, where a small oversight leads to significant consequences. It does not play on different meanings of a word or similar-sounding words for humorous effect.
For want of a nail the shoe is lost , for want of a shoe the horse is lost , for want of a horse the rider is lost .