What is tainted spirit?

No such thing in the Bible. Either you have the Holy Spirit or you have not got it. And the natural man does not understand the things of God (1Corinthians 2.14).
We must be born again - (John 3.3)