We must understand what the Bible teaches us in Ephesians 6:12, "For we do not wrestle against flesh and blood, but against the rulers, against the authorities, against the cosmic powers over this present darkness, against the spiritual forces of evil in the heavenly places." These are the forces that tempt us and seek to entice us away from the truth of Jesus Christ. But we are told in Ephesians 6:10-18 how we are to arm ourselves against these attacks. Paul writes, "Finally, be strong in the Lord and in the strength of his might. Put on the whole armor of God, that you may be able to stand against the schemes of the devil. For we do not wrestle against flesh and blood, but against the rulers, against the authorities, against the cosmic powers over this present darkness, against the spiritual forces of evil in the heavenly places. Therefore take up the whole armor of God, that you may be able to withstand in the evil day, and having done all, to stand firm. Stand therefore, having fastened on the belt of truth, and having put on the breastplate of righteousness, and, as shoes for your feet, having put on the readiness given by the gospel of peace. In all circumstances take up the shield of faith, with which you can extinguish all the flaming darts of the evil one; and take the helmet of salvation, and the sword of the Spirit, which is the word of God, praying at all times in the Spirit, with all prayer and supplication. To that end keep alert with all perseverance, making supplication for all the saints,..."
We must be in prayer constantly, and prayerful study of God's Word constantly, seeking to grow closer to Christ and to be more and more conformed to His image. As we seek Him this way He will strengthen us and we will overcome temptation and the devil will flee from us in defeat.