The text is a proverb or idiom that means overconfidence or arrogance will lead to failure or downfall. It does not play on different meanings of a word or similar-sounding words for a humorous effect.
Pride comes before the fall .