Not at their inception, and actually not much has changed, except that maybe Christianity and Islam have regressed. Ironically, Judaism is probably more progressive in its thinking than either Christianity or Islam. At their inception they were born of tribal nomads who relied on herding for sustenance and had to wage war for their survival. What is now Israel did have a rainy/dry seasonal cycle but the technology for irrigation and farming was not extensive in the time of Moses. So yeah, it was a harsh environment that required tight control of the society for its survival. Virtually every one of the 633 (+/-) Levitical laws had something to do with keeping the society intact and insular.
Leviticus 19:19
You are to keep My statutes. You shall not crossbreed two different kinds of livestock; you shall not sow your fields with two kinds of seed; and you shall not wear clothing made of two kinds of material.
Leviticus 20:13
If a man lies with a man as with a woman, they have both committed an abomination. They must surely be put to death; their blood is upon them.
Deuteronomy 22:5
A woman must not wear men’s clothing, and a man must not wear women’s clothing, for whoever does these things is detestable to the LORD your God (
and here, ladies and gentlemen, children of all ages, is why we have trans-bashing! God said so! In 2019, cross-dressing is detestable why?).
Deuteronomy 22:22
If a man is found lying with another man’s wife, both the man who slept with her and the woman must die. You must purge the evil from Israel.
Seriously? All this is relevant to today, how? Leviticus, Corinthians and Romans have been used for two millennia to persecute, punish, kill homosexuals. And the fight still rages.