The role of agency:
The old saying “The Lord is voting for me, and Lucifer is voting against me, but it is my vote that counts” describes a doctrinal certainty that our agency is more powerful than the adversary’s will. Agency is precious. We can foolishly, blindly give it away, but it cannot be forcibly taken from us.
There is also an age-old excuse: “The devil made me do it.” Not so! He can deceive you and mislead you, but he does not have the power to force you or anyone else to transgress or to keep you in transgression.
The priesthood itself can show you how to overcome addiction
The priesthood holds consummate power. It can protect you from the plague of pornography—and it is a plague—if you are succumbing to its influence. If one is obedient, the priesthood can show how to break a habit and even erase an addiction. Holders of the priesthood have that authority and should employ it to combat evil influences.
If you know how to repent, the adversary cannot hold you; angels will coach you
Every soul confined in a prison of sin, guilt, or perversion has a key to the gate. The key is labeled “repentance.” If you know how to use this key, the adversary cannot hold you. The twin principles of repentance and forgiveness exceed in strength the awesome power of the tempter. If you are bound by a habit or an addiction that is unworthy, you must stop conduct that is harmful. Angels will coach you, and priesthood leaders will guide you through those difficult times.
The priesthood has the power to unlock the influence of our habits
Priesthood holders carry with them the antidote to remove the terrible images of pornography and to wash away guilt. The priesthood has the power to unlock the influence of our habits, even to unchain from addiction, however tight the grip. It can heal over the scars of past mistakes.
The most powerful prevention is to ignore and avoid pornography
Strangely enough, it may be that the simplest and most powerful prevention and cure for pornography, or any unclean act, is to ignore and avoid it. Delete from the mind any unworthy thought that tries to take root. Once you have decided to remain clean, you are asserting your God-given agency. And then, as President Smith counseled, “Don’t look back.”
I promise that ahead of you is peace and happiness. . . .
Boyd K. Packer, “Cleansing the Inner Vessel,” October 2012 General Conference