“Among the things that corrupt sedentary culture, there is the disposition toward pleasures and indulgence in them, because of the great luxury (that prevails). It leads to diversification of the desires of the belly for pleasurable food and drink. This is followed by diversification of the pleasures of sex through various ways of sexual intercourse, such as adultery and homosexuality. This leads to destruction of the species. It may come about indirectly, through the confusion concerning one’s descent caused by adultery. Nobody knows his own son, since he is illegitimate and since the sperm (of different men) got mixed up in the womb. The natural compassion a man feels for his children and his feeling of responsibility for them is lost. Thus, they perish, and this leads to the end of the species. Or, the destruction of the species may come about directly, as is the case with homosexuality, which leads directly to the nonexistence of offspring. It contributes more to the destruction of the species (than adultery), since it leads to no human beings being brought into existence, while adultery only leads to the (social) nonexistence of those who are in existence.”
[Muqaddimah by Ibn Khaldun, p.288]