strzelać sobie w kolano

Etymology
lit. 'to shoot oneself in the knee'.