Did you mean apostasy?
apostasy
noun
°The renunciation of a belief or set of beliefs.
°Specifically, the renunciation of one's religion or faith.
synonyms: backsliding, conversion, deconversion, defection more» , disaffection, estrangement