wéi​fǎ​zì​bì

hoist on one's own petard

Senses

为法自弊/ 為法自弊 wéi​fǎ​zì​bì hoist on one's own petard

To suffer from the consequences of one's own laws or schemes; to be harmed by the very rules one established. Used to describe a situation where someone is caught in their own trap, similar to 自作自受 zì​zuò​zì​shòu.

References

synonym 为法自弊/為法自弊 自作自受/自作自受