To resist our habit we strive to humble ourselves and submit to God. Crosswalk.com noted:
“Submitting to God means elevating his Word above our own desires, yielding ourselves to God’s revealed will in the Scriptures, and desperately calling to him in prayer to ask for “grace to help in time of need”
They also said that the devil can’t overpower a person who is “submitting to and actively pursuing Jesus.”
They also make a great point regarding the armor of God passage:
“It is his strength (Ephesians 6:10) and his armor (Ephesians 6:11) that guards us against the devil’s fiery darts (Ephesians 6:16).”
We pray for his strength, we put on His armor, and we fight back with His Word.
“Using the Scriptures to expose Satan’s lies and temptations is the most effective way to strive against and defeat them. They continue: It is important to read the whole verse: “Submit yourselves, then, to God. Resist the devil, and he will flee from you” (James 4:7). Resisting the devil must be accompanied by submitting to God. A disobedient or unsubmissive believer will not see victory.”
Repent of our sinful desires. Consider praying:
“Father, help me to run from sinful pleasures. Teach me how to make You my pleasure.”
Second, put on the breastplate of righteousness. Consider praying:
“Father, show me how important it is to put on the full armor of God (Ephesians 6). Help me to increase my fight against sin.”
Third, elevate His Word. Know it and quote it often.
Fourth, it is wise to yield ourselves to God’s will.
Fifth, seek ye the Lord. I will repeat a sentence from above. The devil can’t overpower a person who is “submitting to and actively pursuing God.”