No one who is still identified in their flesh can inherit the kingdom of God. Why is it that you miss the conclusion of the syllogism in verse 11?
1 Corinthians 6:9 Know ye not that the unrighteous shall not inherit the kingdom of God? Be not deceived: neither fornicators, nor idolaters, nor adulterers, nor effeminate, nor abusers of themselves with mankind,
1 Corinthians 6:10 Nor thieves, nor covetous, nor drunkards, nor revilers, nor extortioners, shall inherit the kingdom of God.
1 Corinthians 6:11 And such were some of you: but ye are washed, but ye are sanctified, but ye are justified in the name of the Lord Jesus, and by the Spirit of our God.
Those who have trusted the Lord believing the gospel of Christ (1 Corinthians 15:1-4 KJV) have the righteousness of God upon them (Romans 3:21-22 KJV) and are not identified as "unrighteousness" (2 Corinthians 5:17 KJV). Get it? Do you have it?