H e made a pit and hollowed it out and has fallen into the hole which he made.
He has dug out a deep hole, and has fallen into the hole he has dug.