langtrap

shoot oneself in the foot

v.
(idiomatic) To act against one's own interests; to unintentionally behave self-destructively.