In a similar way, Sodom and Gomorrah and the surrounding towns gave themselves up to sexual immorality and perversion. They serve as an example of those who suffer the punishment of eternal fire. (NIV)
[The wicked are sentenced to suffer] just as Sodom and Gomorrah and the adjacent towns--which likewise gave themselves over to impurity and indulged in unnatural vice and sensual perversity--are laid out [in plain sight] as an exhibit of perpetual punishment [to warn] of everlasting fire. [Gen. 19.] (AMP)
Even as Sodom and Gomorrha, and the cities about them in like manner, giving themselves over to fornication, and going after strange flesh, are set forth for an example, suffering the vengeance of eternal fire. (KJV)