As Paul pointed out we also have a sin nature in us combating with His Spirit. Unfortunately as he stated too often that sin nature wins.
That's the wonderment of being covered by the pure royal blood of God Himself through the Son...as we are maturing in faith. Kept by His power until we know who and what we are. Then we become those young men in 1John, overcoming the wicked which is not just lies of the enemy, but the lies of our own humanity that tries to speak against the truth in Jesus Christ.
I am not a sinless perfectionist. I know full well the weaknesses we have in our own self. Those are 'gods" that we think are so important but Holy Spirit is always at work within us to do and to will of His own good pleasure.
There is the purging.
We may not see how victorious we have been in the faith until we reach glory in heaven.
Salvation is clearly by the work of Holy Spirit alone. For religion to try to interject our own attempts to be holy is so futile. No power.
But, faith in the promises of God will bring much to fruition.