zuò​jiǎn​zì​fù

to be caught in one's own trap