The character of Christ are the work of the Holy Spirit within us. Character development starts with our desire to be intimate with the Father. We can't produce the fruit of the Spirit without Holy Spirit.
The most effective way to deal with sin in our lives is to choose to live by the Spirit. (Galatians 5:16).