Well, there's the original proverb 'Aki másnak vermet ás, maga esik bele' that means 'Evil will happen to the one who wants to do evil to someone' - but it literally means "The one who digs a pitfall for someone, he himself will fall in it".
What I wrote (Aki másnak vermet ás, az a sírásó) means literally "The one who digs a pitfall for someone is the gravedigger".
Silly Hungarian joke.
