The Lord tells Moses that anyone who gives a child to Molech, whether an Israelite or a foreigner living there, shall be put to death by stoning, and that if the community closes its eyes to it, the Lord himself will set his face against that person and his family. The same applies to anyone who consults mediums and necromancers and prostitutes himself after them: the Lord will cut him off from his people.
The people are urged to consecrate themselves and keep the Lord's statutes, who sanctifies them. Whoever curses his father or mother shall be put to death. A list of penalties for sexual offenses follows: adultery, relations with close relatives, between men and with animals. Some are punished by death; others by being cut off from the people or by childlessness.
The chapter concludes with a call: keep all my statutes and rules, so that the land to which I bring you will not vomit you out. Do not follow the customs of the nations I am driving out. Be holy, for I, the Lord, am holy, and I have separated you from the peoples to be mine. The last verse repeats the penalty for those who practice divination.