自分の首を絞める(じぶんのくびをしめる)

Japanese vocabulary

Meaning: to cut one's own throat; to dig one's own grave; to cause oneself harm; to bring ruin on oneself

See it used in real works