darsi la zappa sui piedi

Verb

 * 1) to cut off one's nose to spite one's face, shoot oneself in the foot