The devil is not against doctrine, he is against true doctrine.

“But the Spirit explicitly says that in later times some will fall away from the faith, paying attention to deceitful spirits and doctrines of demons.” (1 Timothy 4:1)