shoot yourself in the foot inadvertently make a situation worse for yourself; demonstrate gross incompetence. informal
2001AXM I did gain a few Brownie points when I told her I'm a journalist … But I proceeded to shoot myself in the foot by informing her that it doesn't pay anything more than chump change.