Something important to remember is you cannot feel one thing without the opposite. You cannot feel love without loss; you cannot feel fun without misery; and likewise, you cannot feel happy without feeling sad. This matters because what is the point of living life if you cannot be happy? Sure, it will protect you from pain; but there is no joy in life without; well, joy.
I have lost a close relative in the form of my Great Aunt less than a month ago, and you may think that this experience was useless; however, it has helped me in many ways. It has prepared me for the loss of other relatives in the way that I can cope with it better. And this experience will help me longer in life.
I would not take away the experience because it will help me further in life when I lose other family members. And that is something important to me.