The question of sin

Would someone please answer this question... Jesus came to free us from sin but sin still remains a struggle in the lives of His church. How exactly did He free us from sin as He said in John 10? Surely God can give abundant grace to His children so that they sin no more but its as if though He holds back that grace and allows the struggle though He hates sin.. Could someone find a consensus here?