He's digging his own grave.

他在自掘坟墓。