dig one's own grave
idiom
: to behave in a way that will cause one to lose or fail
The coach dug his own grave when he publicly insulted the team's owner.
Love words? Need even more definitions?
Merriam-Webster unabridged
Share