When we are personally suffering, and then invited to take part in someone's joyous occasion, we should make a special effort to put our suffering aside and rejoice in the other's good fortune. This is very difficult and takes much strength. Exactly for this reason, it is so elevating.