Book of Deuteronomy have given various answers to the problem. The Deuteronomistic history theory is currently the most popular (Deuteronomy was originally just the law code and covenant, written to cement the religious reforms of Josiah, and later expanded to stand as the introduction to the full history); but there is an older theory which sees Deuteronomy as belonging to Numbers, and Joshua as a sort of supplement to it. This idea still has supporters, but the mainstream understanding is that Deuteronomy, after becoming the introduction to the history, was later detached from it and included with Genesis-Exodus-Leviticus-Numbers because it already had Moses
Sex in the Hebrew Bible Sex in the Hebrew Bible Sex occurs frequently in the Hebrew Bible, with extensive laws regulating it. The Bible refers to homosexuality numerous times in both the Old Testament and New Testament (including by Jesus). Every place it is mentioned it is referred to in a negative light. The teaching from the Scriptures are clearly against homosexual behavior of any kind. Leviticus 18:22 says: Leviticus 20:13 states: These verses prohibits male homosexual acts. Ham’s actions in Genesis 9:20-25, are debated upon because of the vagueness of the script, but some interpret it as Ham doing something sexual with his father