When police officers are in trouble, what do they do? They call for backup. That is what believers need to do as well. When we are being hassled or tempted, we need to call for backup. We are to stand strong in the Lord and in the power of His might.
James 4:7 says, "Therefore submit to God. Resist the devil and he will flee from you." Notice it doesn't say that we are to submit to God and carry on extended conversations with the Devil. We want to keep our distance from the enemy, being careful never to yield to his suggestions.
Disobedient and persistent waywardness provides the Enemy a foothold from which he can attack and influence the Christian. So flee temptation and don't leave a forwarding address. Keep your distance from the things that could drag you down.
We must learn from the example of the Israelites who, in spite of their privileges and exposure to miracles, did not keep themselves in the love of God. As a result, they faced judgment.
We must learn from the example of the fallen angels who, even though they once worshiped God in Heaven, they rebelled against Him and became demons in Hell.
We must learn from the example of the people living in Sodom and Gomorrah who, in spite of the fact that they were exposed to the preaching and ministry of Abraham, Lot, and even Melchizedek, they rebelled against God.
These all failed to keep themselves in the love of God. So let's make sure we are taking every step to do that.