Den, der graver en grav for andre, falder selv deri.
“He who digs a grave for others falls into it himself.”
Scheming to harm someone else often ends up ruining the schemer instead.
— Traditional Denmark Wisdom, Denmark
Source: Traditional Danish proverb, public-domain oral tradition