1 verses of the World English Bible have both "hole" and "pit".
Psalms 7:15 He has dug a hole, and has fallen into the pit which he made.
In other translations: KJV ASV YLT Darby Webster DRC Geneva