The idiom "shoot oneself in the foot" means to inadvertently do or say something that causes you trouble or harms your own interests, goals, or chances for success. It is essentially an act of self-sabotage, typically caused by a foolish mistake or lack of foresight. The core meaning is to act against your own best interests.
It usually implies an unintentional or mindless error rather than a deliberate attempt to fail.
Here are a few common common scenarios:
In career: Criticizing a boss right before asking for a promotion.
In social or international affairs: Making a careless remark that offends someone you need help from.
During interviews: Sharing too much negative information about a past job.
The phrase has its roots in literal firearm accidents. While soldiers in World War I sometimes purposely shot themselves in the foot to avoid combat (a practice known as a "Blighty wound"), the figurative idiom more likely evolved from accidental discharges caused by poor weapon handling or drawing a gun too quickly. The metaphorical use became popular in the 1950s to describe any self-inflicted blunder.
