21 Do not hand over any of your children to be used in the worship of the god Molech, because that would bring disgrace on the name of God, the Lord.
22 No man is to have sexual relations with another man; God hates that.
23 No man or woman is to have sexual relations with an animal; that perversion makes you ritually unclean.
24 Do not make yourselves unclean by any of these acts, for that is how the pagans made themselves unclean, those pagans who lived in the land before you and whom the Lord is driving out so that you can go in.
25 Their actions made the land unclean, and so the Lord is punishing the land and making it reject the people who lived there.
26-27 They did all these disgusting things and made the land unclean, but you must not do them. All of you, whether Israelites or foreigners living with you, must keep the Lord's laws and commands,
28 and then the land will not reject you, as it rejected the pagans who lived there before you.