dig yourself a hole

dig yourself (into) a ˈhole

get yourself into a bad situation that it will be very difficult to get out of: When I started lying to him, I realized that I was digging myself into a hole which would be very difficult to get out of.
See also: dig, hole