Leviticus 18: 1-5, 24-30
18:1 And the LORD spoke to Moses, saying, 2 “Speak to the people of Israel and say to them, I am the LORD your God. 3 You shall not do as they do in the land of Egypt, where you lived, and you shall not do as they do in the land of Canaan, to which I am bringing you. You shall not walk in their statutes. 4 You shall follow my rules and keep my statutes and walk in them. I am the LORD your God. 5 You shall therefore keep my statutes and my rules; if a person does them, he shall live by them: I am the LORD.
(ESV)