The answer is in verse 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.”
That comes with repentance. My point was how many who judge homosexuals are themselves knowingly guilty of sins they haven’t repented of?