For the flesh desires what is contrary to the Spirit, and the Spirit what is contrary to the flesh. They are in conflict with each other, so that you are not to do whatever you want.
References for Galatians 5:17
But if you are led by the Spirit, you are not under the law.
References for Galatians 5:18
The acts of the flesh are obvious: sexual immorality, impurity and debauchery;
References for Galatians 5:19
idolatry and witchcraft; hatred, discord, jealousy, fits of rage, selfish ambition, dissensions, factions
and envy; drunkenness, orgies, and the like. I warn you, as I did before, that those who live like this will not inherit the kingdom of God.
References for Galatians 5:21
But the fruit of the Spirit is love, joy, peace, forbearance, kindness, goodness, faithfulness,
References for Galatians 5:22
gentleness and self-control. Against such things there is no law.
References for Galatians 5:23
Those who belong to Christ Jesus have crucified the flesh with its passions and desires.
References for Galatians 5:24
Since we live by the Spirit, let us keep in step with the Spirit.
References for Galatians 5:25
Let us not become conceited, provoking and envying each other.
References for Galatians 5:26