Do not be deceived; neither fornicators, nor idolaters, nor adulterers, nor effeminate, nor homosexuals …
Jude 1:7
And do not fail to remember Sodom and Gomorrah and the neighboring cities, which in a similar way indulged in sexual immorality (unnatural lust) and perversion. They serve as an example of those who undergo the punishment of eternal fire
1 Corinthians 6:9 states that neither effeminate, nor sodomites will inherit the kingdom of God.
The unnatural lust and sexual immorality of Sodom and Gomorrah were punished by God to serve as an example of the eternal punishment for those who indulge in the vice of homosexuality or any other sexual perversion.