When we struggle against demonic thoughts, the struggle will be considered as a martyrdom.
This is because one suffers a great deal when evil thoughts attack, and God, seeing the toil and pain of his soul,considers it to be a martyrdom.
Elder Ephraim of Arizona