According to the biblical account, the inhabitants of Sodom were exterminated because of their perversions, such as having sex between males. That's what a sodomite does. See sodomy, paedophile .