Who digs a trap for others ends up in it himself.

Who digs a trap for others ends up in it himself. (This is translated from a Bosian proverb)