Question:
An old friend of the family just passed away as a result of a tragic accident. What is the Jewish way to help make sense of all of this?
Answer:
As the years pass, we witness death many times, but the passing of a close friend is different than any other passing. In a way, a part of us dies as well. They say that two friends carry a small piece of one another wherever they go. And so, when this friend departs, we too experience death vicariously.
How do you respond to a part of you dying? You have a choice: You can resign to the inevitable with a broken spirit and eat away the rest of your years despondently awaiting full surrender. Or you can defy that taste of death by cherishing life even more.
We Jews often quote the words of Solomon the Wise, "V'ha-chai yiten el libo"--meaning, "And he who lives should take it to heart" (Ecclesiastes 7:2). In simple words, our response to death is to take life to a whole new level. Before witnessing death, we believe we will live forever—so we think nothing of squandering our time. Now we understand that our days are counted, that not a moment will repeat itself.
In the words of one of our wise sages,1 "People fret about wasting their money, but no one frets about wasting their days. The money they saved cannot help them but their wasted days are forever lost."
Today is a great day to start living.
P.S. You might want to look also at our Death and Mourning section for more on the topic.

Rabbi Freeman, thank you so much. I had a dear friend who died of cancer. There was such a huge ache in my heart. I decided eventually to stop grieving and begin a brand new life where I give myself permission to laugh, have fun, GO places I have never been, and do good things for myself such as have a bariatric surgery and begin a new, active lifestyle of exercise and daily walks. When I see the world around me now, it is new. Now, I am facing another dear friend who is in the process of dying. It really hurts. But, I have go grasp hold of each moment of life that G-d has given me on this earth and see it as being miraculous. I love my friend dearly, but I realize that the only way to prevent this pain is to be a hermit and never care about another person. I believe that it does matter that I can bring joy and happiness to another person and that by being available to her when I am able, it is a Mitzvah for G-d. No? I know I need to be brave about it. It is difficult, though.