avoid the trap of (doing something)
To avoid to doing something foolish or irresponsible. After college, I couldn't avoid the trap of using credit cards, and I've been deep in debt ever since.
fall into the trap of (doing something)
To succumb to doing something foolish or irresponsible. After college, I fell into the trap of using credit cards, and I've been deep in debt ever since.