My thinking is that we find in the Talmud some serious criticism about religious teachers. But furthermore we also find that what happens in Israel is reflected in the larger world. So when our own house is not in order this is seen in the large in the general events of the world.
Now it is a good question about how to tell the difference between good and bad religious teachers. It is important to know that there do exist bad religious teachers and that because of them there are problems because of people that follow them naively thinking they are teaching Torah.
Now this problem does beg for a solution. The only possible solution I can see is individual. That is it is up to each individual to learn Torah on their own and thus not to be dependent on others to know what it says. And if it is too much to ask everyone to know the whole Oral and Written Law then at least Musar--the books of Jewish ethics written during the Middle Ages tell us in a practical sense what the essence of Torah is. [Musar is a well known set of books. I do not need to list them here. Mainly they are divided between books from the middle ages and the later books of the disciples of Reb Israel Salanter that went into more detail in how to apply the lessons of Musar in a practical sense. ] [In my non humble opinion the חובות לבבות Duties of the Heart is the best one.]
I should add that the problem about evil religious teachers is not just in that Torah lesson but begins in the LM from Vol I ch 8 and goes through the entire two volumes. This theme does come up in the Talmud also and even the Mishna. אם אתה רואה דור שפורעניות באות אליו צא ובדוק בדייני ישראל שכל פורעניות שבאות לעולם אינן באות אלא בגלל דייני ישראל I forgot where that particular Gemara is. It is somewhere near the end of Tractate Shabat but I forgot the page number.
So who then can decide a halacha issue? In monetary cases where there are two opposing parties we do know who can decide--מומחה לרבים. someone who has been tested by experts in the Talmud and been found never to make a mistake. But in other cases?
The irony is that the people we would hope and expect to teach us morality and true principles of how to guide our lives are often the source of the most damage. In fact, I think this is so in the majority of cases.
I should mention that none of this is meant to disparage the sincere people who are sitting and learning Torah whether privately or in straight Lithuanian yeshivas.
People of intellect and morality are disqualified and attacked when the religious world is under the control of a tyranny backed by the mob. Don’t ask where all of the smart people are. Don’t ask where all of the leaders of men are. The religious world wants to be ruled by psychopaths and imbeciles.
The best solution would be to fire all religious teachers. Save the money or give it to yeshivas where real Torah is learned [Lithuanian Yeshivas].