joka toiselle kuoppaa kaivaa, hän itse siihen lankeaa

Etymology
Of Biblical origin:

Proverb

 * 1) he who digs a pit for others falls in himself. If one tries to cause harm to another person, one will fall into the trap themselves.