In Of Temptation, John Owen encourages Christians to store up their hearts with truth in order to stand against temptation:
But store the heart with a sense of the love of God in Christ, and his love in the shedding of it; get a relish of the privileges we have thereby,–our adoption, justification, acceptation with God; fill the heart with thoughts of the beauty of his death;–and thou wilt, in an ordinary course of walking with God, have great peace and security as to the disturbance of temptations.
– Owen, Overcoming Sin & Temptation, 202.