Let's go back to that verse 7-11:
The very fact that you have lawsuits among you means you have been completely defeated already. Why not rather be wronged? Why not rather be cheated? 8 Instead, you yourselves cheat and do wrong, and you do this to your brothers and sisters. 9 Or do you not know that wrongdoers will not inherit the kingdom of God? Do not be deceived: Neither the sexually immoral nor idolaters nor adulterers nor men who have sex with men10 nor thieves nor the greedy nor drunkards nor slanderers nor swindlers will inherit the kingdom of God. 11 And that is what some of you were. But you were washed, you were sanctified, you were justified in the name of the Lord Jesus Christ and by the Spirit of our God. 1 Corinthians 6:11
Paul in saying "and that is what some of you were" he was saying in regard to many horribly dark sins they had allowed the sanctification process to work in them and through them. He reminding them of who and what they are now In Christ that you're a different type of people on the Earth. When other sin type come up however they must work all of them things out of themselves as well by the power and grace of God. Keep in mind Paul said this to Christians who were already saved,
For if ye live after the flesh, ye shall die: but if ye through the Spirit do mortify the deeds of the body, ye shall live.For as many as are led by the Spirit of God, they are the sons of God. Romans 8: 13,14