When sin is still thought to play a role in one's eternal destiny, the result is one striving to maintain their position of grace through performance, or works. They didn't qualify to be in God's presence by their personal holiness, but now sitting before Him, they have deemed it necessary to conduct themselves in such a way as to maintain that position. The problem is, that while we strive to be holy as He is holy, we mustn't forget that it is the blood of Christ that has granted us the remission of sins and therefore, our place of justification is not on trial through our successes and failures but simply relies upon Jesus' work.
Bad doctrine is the source for such an abysmal walk with God, as people in ignorance attempt to gain through merit what God has provided freely through His Son. Reconciliation. Righteousness. Holiness. Forgiveness. Why do we seek any of these things through merit when God has graciously provided it through the sufferings of Christ? Do we trample underfoot the Son of God?