The laws of chillul Hashem (avoiding desecrating Hashem’s Name, which comes in several different forms) hold an important place in our spiritual world. Being careful about them overcomes a lot of other concerns. One source that highlights the seriousness of chillul Hashem is: “Any place where there is a chillul Hashem, we do not give honor to the teacher.” (Note that in the context of that quote in Sanhedrin, the teacher whose honor was pushed aside was none other than Moshe Rabbeinu.)