H e has dug out a deep hole, and has fallen into the hole he has dug.
Quem cava um buraco e o aprofunda cairá nessa armadilha que fez.