Heresy is an opinion that goes against the values of an established doctrine or system. It is commonly used in the religious context.
He is quick to acknowledge that scholarship is not more important than sanctity, but he still argues that it is sinful, and a kind of heresy, for evangelical Christianity not to honor God’s creation with study and contemplation. (NY Times)
Surely their beliefs are strong enough to stand up to a children’s story. And surely Hollywood can put more faith in the power of great fiction. Fiddling with art to appease narrow-minded interest groups is its own heresy, one with which Hollywood unfortunately is all too familiar. (LA Times)