You can remember the meaning of 脱离 with this easy mnemonic:
You need to shed (脱) that proud exterior of yours and separate yourself from toxic friends by leaving (离) them.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.