The text is a proverbial saying that means someone who tries to harm others will eventually suffer the consequences themselves. It does not play on the multiple meanings of a word or similar-sounding words for a humorous effect.
Who digs a trap for others ends up in it himself .