を避けるために

in order to avoid

→ を
phrase Rare #41,869
in order to avoid The particle を marks what is being avoided; ために expresses purpose.
JA: 渋滞を避けるために、早朝に出発しました。
EN: I left early in the morning in order to avoid traffic.

交通混雑を避けるために、クリスマスには家にいた。

I stayed home on Christmas to avoid the traffic.

私たちは交通渋滞を避けるために裏道を通った。

We took a back road to avoid the traffic jam.