Correct

作茧自缚

/ zuō jiǎn zì fù /
Strokes

Definition

to spin a cocoon around oneself (idiom); enmeshed in a trap of one's own devising/hoist by his own petard

Example

Definition

spin a cocoon around oneself—knit a net only to bind oneself; get enmeshed in a web of one's own spinning; be paid in one's own coin

1
zhèyàng
这样
zuò
jiǎnzhí
简直
shì
zuōjiǎn
作茧自缚
  

By doing so, you are just asking for trouble.