shoot yourself in the foot

Fortgeschritten (C1) neutral

Accidentally harm your own chances or interests.

"By leaking the information, he shot himself in the foot and lost the deal."