dig a pit for

dig a pit for

try to trap.
This is a common biblical metaphor: for example, in Jeremiah 18:20 we find ‘they have digged a pit for my soul’.
See also: dig, pit