The LORD spoke to Moses and said, "Tell the Israelites: I am the LORD your God. You are not to follow the ways of Egypt, where you lived, or the practices of Canaan, where I am bringing you. You must obey my laws and be careful to follow my decrees, for anyone who lives by them will live."
The LORD gave instructions about forbidden relationships. No one is to have sexual relations with a close relative. You must not dishonor your father by sleeping with your mother. You must not have relations with your father's wife. You must not sleep with your sister, whether she is your father's daughter or your mother's daughter, born in the same home or elsewhere.
You must not have relations with your son's daughter or your daughter's daughter, nor with the daughter of your father's wife, born to your father. You must not have relations with your father's sister or your mother's sister. You must not dishonor your father's brother by sleeping with his wife. You must not have relations with your daughter-in-law or your brother's wife. You must not have relations with both a woman and her daughter, or with her granddaughter. You must not take your wife's sister as a rival wife while your wife is living.
Do not approach a woman during her monthly period to have sexual relations. Do not sleep with your neighbor's wife. Do not give any of your children to Molech, profaning the name of God. Do not sleep with a man as with a woman; that is detestable. Do not have sexual relations with an animal, and women must not present themselves to animals.
The LORD warned, "Do not defile yourselves in any of these ways, because the nations I am driving out before you became defiled in these practices. Even the land was defiled, and I punished it, and the land vomited out its inhabitants. You must keep my decrees and laws. The native-born and aliens living among you must not do any of these detestable things, for the people who lived in the land before you did them, and the land became defiled. If you defile the land, it will vomit you out as it vomited out the nations before you."
The LORD continued, "Everyone who does any of these detestable things must be cut off from their people. Keep my requirements. Do not follow the customs that were practiced before you came, and do not defile yourselves with them. I am the LORD your God."