Let me deal with the Leviticus passages first and the Sodom passage later. The key to reading the Leviticus passages rightly is to read them from the beginning of each of the chapters while asking the question, “Whom is God addressing in these chapters, and what is God telling him?” (We know it’s a “him” and not a “her”, because God goes to great lengths to tell “him” not to have sex with a variety of women who are related to him or to each other in certain ways, and only in relation to beastiality does God give a prohibition primarily to a woman – though women do get punished for adultery along with the man who was considered to be in the power position in the relationship.) When God has to tell a man not to have sex with his father’s wife, his uncle’s wife, his daughter-in-law, a woman and her daughter, and then another man, what’s going on here? The answer, to my way of thinking, is that in a patriarchal, nomadic culture in which a man has his extended family along with non-family members acting as servants/slaves both under his care and at his command, it is easy for such a man to become too easily “drunk with power” or “impressed with himself” or simply feeling as though he works hard to take care of all these folks, and so he should be able to expect something in return from them as thanks for all he does for them; and, among other things, some personal sexual gratification from various ones of them will go a long way to both bringing him some occasional pleasure – if only momentary – PLUS, it has the great benefit of allowing him to assert his superiority over them as a reminder of his power position to which they may aspire but which they will never attain as long as he is capable of having anything to do with it.