The spirit of man cannot be wrong. It is the part of us taught by God. Our spirit may not know everything as we need to be taught by God. The problems arise when we rely on our natural man to interpret things.
The spirit man in us us the part that is born again. Whatever is born of God does not sin. A number of translations of 1 John 5:18 say that those born of God do not not habitually sin or something to that effect. The word "habitually" does not appear in the text. Translators suppose that it is implied. I do not agree.
When we are born again, we are spiritual infants. We know very little except the truth that led us to accept Christ in the first place. Spiritual maturity comes from the word of God being implanted in our spirit man. We then learn to live according to what we know in the spirit.
Our unrenewed minds argue with what we know in our spirit man. We have to learn, usually by experiences, that God's way is higher than ours. I've had 50 plus years of those kinds of dealings, usually a result my own self will. I still make mistakes from time to time, but nothing like when I first started my journey in Christ. My mentor of 30 years told me that the Christian life gets easier as we learn to cooperate. At the time, that seemed silly. I discovered that circumstances may not get easier, but we are better equipped to overcome. God uses all our trials to bless and refine us. There are many things I wish I could have avoided. But I also say to myself, if that is what it took to get me to where I am now, it was worth it all.