[27b top] Gemarah: Originally they used to put spices next to bodies that did not smell good. But then they recognized that people would get embarrassed and worried that they too would have spices if they did not smell good. Therefore, the Rabbis enacted that everyone who passes away should have these sweet smelling spices next to then.
E’s Lesson: But would deceased people really be embarrassed?! We should learn from here, that if we go through such measures not to embarrass people who are no longer living, how much more so should we be extremely cautious about not offending or embarrassing someone while the person is still alive!