The facts don't substantiate this claim though:
- We are commanded not to take revenge or to bear a grudge. However, God holds himself to different standards that he judges other people by, by calling himself a 'El Kanah Venokeim', a jealous and revengeful God.
- The book of Shulchan Aruch we are being taught most, is the daily ritual part of Orach Chaim. If you learn for Smichah (Rabbinic ordination), you are likely to be taught the dietary laws of Yore Deah. However, how many people do you know that are proficient in Choshen Mishpat (financial law)? This book will most likely contain moral laws. And guess what? These laws are mostly man-made (although they may reinterpret verses to fit them back into the Torah).
- We are all being taught that, according to one opinion, Rivkah was 3 years old when she married Yaakov. Do you remember being taught that marrying a toddler was disgusting? No, of course not, we will find anything to make the Avos holy. The cognitive dissonance is mind-blowing consider these comments at The Yeshiva World:
A 3 year old then was not the same 3 year old now. Things were different then. People lived longer, and they did not age. We can already see from the story with Eliezer and the camels that she had high intellect and a high level of functioning.And:
It's very clear she musta been born during Adar Sheini and therefore as her real birthday didn't come around too often, she was really more like 12 years old. - The conquest of Kenaan that butchered the local population in the name of God.
- The many laws that were perhaps considered advanced in antiquity but are considered by most people to be reprehensible nowadays, such as the laws condoning slavery, death penalty for homosexuality and other 'crimes' such as waiting too long before consuming sacrifices.
- The position of women in Judaism: whichever way you want to turn it, she is unable or not supposed to bear witness, become a judge, show her hair in public, sing in front of others, study Torah for its own sake, write a Torah scroll, inherit like men do, marry or divorce a man, etc.
But more than the question of whether certain laws and / or customs are ethical or not is this. The focus of our education is not to be moral and ethical people. What really really counts is what we keep or not. What we wear and how to fit in. The uber-goal is to subjugate yourself to the law and the community and to be 'Shomer Tora uMitzvos'.
Whether this Torah or these Mitzvos are morally inspiring or not.
This, in my opinion, is one of the main points why people are uncomfortable about their Judaism and, eventually, slip out through the back door.