The Fruit of the Holy Spirit – What is self-control?
Here is GotQuestions.org answers...
The last characteristic listed in Galatians 5:22-23 as a fruit of the Spirit is self-control. The fruit of the Spirit is the change in our character that comes about because of the Holy Spirit’s work in us. We do not become a Christian on our own, and we cannot grow on our own. Philippians 2:13 says that "it is God who is at work in you, both to will and to work for His good pleasure." Every good thing we do is the fruit of the Spirit’s work in our lives.
Self-control (“temperance” in the KJV) is, of course, the ability to control oneself. It involves moderation, constraint, and the ability to say “no” to our baser desires and fleshly lusts.
One of the proofs of God’s working in our lives is the ability to control our own thoughts, words, and actions. It’s not that we are naturally weak-willed. But our fallen nature is under the influence of sin. The Bible calls it being a "slave to sin" (Romans 6:6). One definition of sin is "filling a legitimate need through illegitimate means." Without the power of the Holy Spirit, we are incapable of knowing and choosing how best to meet our needs. Even if we knew what would be best, such as not smoking, another need, like comfort, would take precedence and enslave us again.
When we are saved by Christ’s sacrifice, we are free (Galatians 5:1). That liberty includes, among other things, freedom from sin. “Our old self was crucified with him so that the body of sin might be done away with, that we should no longer be slaves to sin” (Romans 6:6). Now, as the Spirit gives us self-control, we can refuse sin.Read more here