К то рыл и выкопал яму, сам в нее упадет.
He has dug out a deep hole, and has fallen into the hole he has dug.