If you say
that someone is digging
their own grave
, you are warning
them that they are doing something foolish or dangerous
that will cause their own failure.
The magazine isn't trying to ruin his career, the man's digging his own grave by refusing
COBUILD Advanced English Dictionary. Copyright © HarperCollins Publishers