Walk in the Spirit and not in the desires of the flesh. The desires of the flesh are at war with the Spirit and the Spirit against the flesh. This is what constraints you to do what is right and resist what is wrong.
Without the Spirit, you would have little power to resist temptation. So take up arms on the Spirits’ side, allow Him to work in your life, and fight against your own flesh that you may please the Lord. It is of great benefit to you and to your daily walk with the Lord.
But I say, walk by the Spirit, and you will not gratify the desires of the flesh. For the desires of the flesh are against the Spirit, and the desires of the Spirit are against the flesh, for these are opposed to each other, to keep you from doing the things you want to do. But if you are led by the Spirit, you are not under the law.
Now the works of the flesh are evident: sexual immorality, impurity, sensuality, idolatry, sorcery, enmity, strife, jealousy, fits of anger, rivalries, dissensions, divisions, envy, drunkenness, orgies, and things like these. I warn you, as I warned you before, that those who do such things will not inherit the kingdom of God.
But the fruit of the Spirit is love, joy, peace, patience, kindness, goodness, faithfulness, gentleness, self-control; against such things there is no law. And those who belong to Christ Jesus have crucified the flesh with its passions and desires. If we live by the Spirit, let us also keep in step with the Spirit. Galatians 5:16-25
God has given you a conscience that you may know what is good and what is evil, what is right, and what is wrong. The more often you take a stand to uphold the Lord’s ways, His commands, and precepts, the stronger and more unwavering your stance will become against your own fleshly desires and the wicked of this world.
The more the Lord will instruct you with knowledge, understanding, and insight to fight against evil by the power of the Spirit.
For those who live according to the flesh set their minds on the things of the flesh, but those who live according to the Spirit set their minds on the things of the Spirit. For to set the mind on the flesh is death, but to set the mind on the Spirit is life and peace. For the mind that is set on the flesh is hostile to God, for it does not submit to God’s law; indeed, it cannot. Those who are in the flesh cannot please God. Romans 8:5-8
Victory in your daily walk with God comes by obeying the Spirits leading, daily Bible reading, and a continual connection to God through prayer. It always starts in your own spirit, mind, heart, and determination to follow the Lord in everything you do.
If you resist the temptation to sin, those desires to follow your old ways and to keep yourself pure, you will be equipped more radially to resist and stand against this dark and evil world.
You will stand firm and unmovable by the power and authority given to you by the Holy Spirit. Like a powerful, skilled, and fearless warrior, you will be a fierce adversary standing your ground against the devil, his wicked ones, and the wickedness of this world.
Be watchful, stand firm in the faith, act like men, be strong. 1 Corinthians 16:13
Be sober-minded; be watchful. Your adversary the devil prowls around like a roaring lion, seeking someone to devour. Resist him, firm in your faith, knowing that the same kinds of suffering are being experienced by your brotherhood throughout the world. And after you have suffered a little while, the God of all grace, who has called you to His eternal glory in Christ, will Himself restore, confirm, strengthen, and establish you. 1 Peter 5:8-10
In fact, standing strong in the Spirit and keeping yourself pure from your own sin is the act of putting on the Armor of God.
You have become confidant in the Helmet of your Salvation, you have purified yourself with the Breastplate of Righteousness, you have assurance in the protection of the Shield of Faith, your skill is continually increased through the power of the Sword of the Spirit, which is the Word of God, you are relying on the holding power of the Belt of Truth, and the knowledge that comes by it, and are ready to run with the Gospel of Jesus Christ you have put on as footwear.
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. Ephesians 6:10-12