Ants in their wisdom have also learnt to run away from those things that could harm them or are detestable to them. They try as much as possible to avoid the sun, detergents, petrol etc.
In the same vein, as Christians there are things we should flee from as the scriptures has said
“Flee also youthful lusts: dead flies cause the ointment of the apothecary to send forth a stinking savour: [so doth] a little folly him that is in reputation for wisdom [and] honour but follow righteousness, faith, charity, peace, with them that call on the Lord out of a pure heart.” (2 Tim. 2:22, Eccl. 10:1)
Hope you avoid folly as much as possible!