The Hebrew verb chaphar (חָפַר) has two distinct meanings depending on context: (1) to dig (a well, pit, or hole), and (2) to be ashamed, abashed, or confounded. These are considered two separate roots by most lexicographers.
The 'digging' sense of chaphar appears in the patriarchal well narratives — Abraham and Isaac dig (chaphar) wells as acts of settlement and covenant (Genesis 21:30; 26:15). Wells dug with effort become signs of persistence and faith. The 'shame' sense appears in prophetic literature: 'those who seek my life will be put to shame (yachperu)' (Psalm 35:4). Together, these senses capture a paradox: digging deep with perseverance leads to life-giving water, while digging pit-traps of wickedness leads to shame.