kdo jinému jámu kopá sám do ní padá

he who digs a hole for someone will fall into it himself