to spin a cocoon around oneself (idiom); enmeshed in a trap of one's own devising
Traditional: 作繭自縛
Master each character individually