What does "pernicious ways" mean?

It means destructive, like pernicious anemia destroying red blood cells; false teachers destroy the teachings believers rest on.

Watch the Teaching: Why Paul Warns Believers to Beware of Dogs