Revelation 21:7-8
7 The one who conquers will have this heritage, and I will be his God and he will be my son. 8 But as for the cowardly, the faithless, the detestable, as for murderers, the sexually immoral, sorcerers, idolaters, and all liars, their portion will be in the lake that burns with fire and sulfur, which is the second death.”
The Greek word translated “vile” in Revelation 21:8 is related to words that refer to abominations (e.g. 17:4-5, 21:27). In the Septuagint (the Greek translation of the Old Testament) these words are used to describe sexual immorality that is disgusting to God, including in Leviticus 18:22-29. The link with Leviticus 18:22 seems straight-forward but even if not, this list of sins includes the sexually immoral i.e. the more general term that includes homosexuality.
Understanding Revelation 21:7-8