Well I'm not perfect and probably won't be in this life. I have mental problems that get in the way of perfection. I'm more like a malfunctioning computer.
I think it was CS Lewis in Mere Christianity who compared us to the the pilot of a wrecked ship. I can relate, brother!
I have mental illness including obsessive/compulsive disorder, and my obsessions and compulsions are often corrupt, sinful. By internal discipline I can have a good level of control, but not without internal struggle and not without also failing. I've come to understand that mal-development of my brain hard-wired that into me as I grew up. So while I realize there is some physical recovery through brain plasticity, that's only good to a point, and my hypothalmus and ventrical cortex and all the rest, they aren't going to "redevelop" in the right way. This is it.
But even so,
Romans 8:4-9 KJV
4) That the righteousness of the law might be fulfilled in us, who walk not after the flesh, but after the Spirit.
5) For they that are after the flesh do mind the things of the flesh; but they that are after the Spirit the things of the Spirit.
6) For to be carnally minded is death; but to be spiritually minded is life and peace.
7) Because the carnal mind is enmity against God: for it is not subject to the law of God, neither indeed can be.
8) So then they that are in the flesh cannot please God.
9) But ye are not in the flesh, but in the Spirit, if so be that the Spirit of God dwell in you. Now if any man have not the Spirit of Christ, he is none of his.
"In flesh" . . . "In Spirit" . . . The mind of the flesh operates in the fleshy brain of the fleshy being, and it's the fleshy being that is corrupt. But the mind of the spirit is not housed in the fleshy brain, does not derive from the corrupted physical being, but derives from the Holy Spirit of God, and lives in the heavenly realm, hid with Christ in God. The mind of the spirit is holy and righteous and good.
I've learned that when I remember that whether or not I can or can't control my obsessions and compulsion, that God loves me just the same, that I remain fully fogiven, that there is NO separation or break between God and I, in those times, that pushing of the flesh, that relentless driving of depravity - ceases. And my mind is clear, and clean, and I bask in God's love.
I can't control my own mental illness by self-effort, only to a point. But it becomes fully controlled as I trust in Jesus.
Even when it becomes exceedingly difficult due to the intensity of the feelings and thoughts, I can wait it out, trusting in Jesus, and while my mind and body rage around me in corruption, I can deny participation by remaining in the center of God's love and acceptance.
If I'm failing, already gone after the fleshy drives, it doesn't matter, I know I am still forgiven, still accepted, and realizing this truth can stop sin in it's tracks as I come back to trusting. And I can just walk away, in a heartbeat coming back into God's intent for me.
Much love!