Kavod HaBeriot/Respect for Creations is something very important in the Torah, to the point that the Gemara tells us that in certain circumstances, Torah prohibitions are waived due to respect for people. One example that brings out the importance of Kavod HaBeriot is the following:
A Kohen is not allowed to contaminate himself with the dead. When someone passes away, a kohen is not allowed to enter the funeral home, because there is a contamination of the dead that a Kohen has to stay away from. Yet the Torah makes an exception for the Kohen’s seven close relatives. Different reasons for this exception, are offered by different Rishonim. The Sefer Hinuch says that Hashem is understanding of human emotions, and because people are in extreme pain when a close relative passes away, to ask a kohen to stay away would be asking too much. Therefore the Torah allows it.
The Ramban offers a different reason, citing a very interesting concept in the Gemara that when a Nasi/prince passes away, according to some opinions, a Kohen is allowed to go to the funeral. And furthermore, it’s brought down in Tosafot that when a great rabbi, Rabbenu Tam passed away, one of the Kohanim, Rav Chaim Cohen said, “If I would have been there at the time, I would have gone to the funeral.” All the rabbis are bothered by this. What does that mean? How could a Kohen go to the funeral, even for a great Rabbi? He is not allowed to contaminate himself with the dead. The Ramban explains the concept of contaminating oneself to a prince, and also for the Met Mitzvah (When someone passes away, and there is no one there to bury him, even a Kohen Gadol/the high priest, has the right to contaminate himself to perform this mitzvah).
The Gemara says, based on the understanding of the great rabbis, that it is because of Kavod HaBeriot/Respect for Creations.
This man’s body was lying there without anyone to bury him. That lack of respect for the human body with its Tselem Elokim, halachically requires a Kohen to contaminate himself.
And the Ramban says that the Kohen can contaminate himself for his seven close relatives for the same reason. It would be a lack of respect to the relative if his close ones were not there at the funeral. He takes it a step further and says that the prince deserves great honor at his funeral, and thus Kohanim can attend his funeral, in order to bring honor to the deceased. With that, they explain the Tosafot about Rabbenu Tam’s funeral as well. Although it is not for us today to decide who great rabbis are, under the circumstances then, Rabbi Chaim Cohen felt that he would be allowed to go to the funeral of this great Rabbi, out of respect for him. This is an unbelievable concept. As contaminated as the dead body is, and as improper as it is for a Kohen to have any connection to that contamination, out of respect for the deceased, the Torah itself allows this to happen.
Of course, this does not mean that we are allowed to transgress sins in order to bring people respect. We can’t drive to somebody’s party on Shabbat out of respect. There are guidelines. But it brings out how important it is to have respect for people, and certainly in cases in which there is no Halacha preventing it. If it means walking a great distance for somebody’s affair on a Shabbat, or whatever it may be, going the extra mile falls under the concept of Kavod HaBeriot/Respect for Creations, which is a great Torah- sanctioned and recognized concept.
Have a wonderful day.

