H e made a pit and hollowed it out and has fallen into the hole which he made.
Quem cava um buraco e o aprofunda cairá nessa armadilha que fez.