shoot yourself in the foot自分の足を撃つ;自滅する
My idiot cousin, the kaiser, has finally shot himself in the foot.