The bible is such a good moral code.
The Lord will afflict your knees and legs with painful boils that cannot be cured, spreading from the soles of your feet to the top of your head. Deuteronomy 28:30-31,35
When a woman has a discharge, if her discharge in her body is blood, she shall continue in her menstrual impurity for seven days; and whoever touches her shall be unclean until evening. Everything also on which she lies during her menstrual impurity shall be unclean, and everything on which she sits shall be unclean. Leviticus 15: 19-20
When men fight with one another, and the wife of the one draws near to rescue her husband from the hand of him who is beating him, and puts out her hand and seizes him by the private parts, then you shall cut off her hand. Deuteronomy 25:11-12
Now therefore, kill every male among the little ones, and kill every woman who has known man intimately. But all the girls who have not known man intimately, spare for yourselves. Numbers 31:17-18
Slaves, obey your earthly masters with deep respect and fear. Serve them sincerely as you would serve Christ. Ephesians 6:5 NLT
You may purchase male or female slaves from among the foreigners who live among you. You may also purchase the children of such resident foreigners, including those who have been born in your land. You may treat them as your property, passing them on to your children as a permanent inheritance. You may treat your slaves like this, but the people of Israel, your relatives, must never be treated this way. Leviticus 25:44-46 NLT
Whosoever … hath any blemish, let him not approach to offer the bread of his God. For whatsoever man he be that hath a blemish, he shall not approach: a blind man, or a lame, or he that hath a flat nose, or any thing superfluous, Or a man that is brokenfooted, or brokenhanded, Or crookback, or a dwarf, or that hath a blemish in his eye, or be scurvy, or scabbed, or hath his stones broken … He shall not go in unto the vail, nor come nigh unto the altar, because he hath a blemish; that he profane not my sanctuaries. Leviticus 21:17-23 KJV