Law of holes

Photograph of a backhoe that is over half submerged in a large hole that it dug in a peat bog before falling in.
An excavator that is in a hole and has stopped digging.

The law of holes, or the first law of holes, is an adage that states: "If you find yourself in a hole, stop digging." It is used as a metaphor, warning that when in an untenable position, it is best to stop making the situation worse.