自取滅亡

Idiom

 * 1) to court self-destruction; to dig one's own grave