• Do you cling to life? What's the point in living if you eventually die?
    Perhaps this perspective is helpful - your dilemma implies "you" exist in some sense as a discreet individual. If you relax that assumption, the question kind of answers itself.

    The question is what exactly are "you" and I would suggest that you are the sum of the information held in your genetic history, your and humanity's memory. Our perception of consciousness allows us to take action for a period of time during which we may alter that information. When "you" "die" as such, the information you previously considered your life continues. You just no longer have the opportunity to influence it.

    Take for example your question of good and bad actions. Regardless of your choice, your action is information and may well survive long after your "death". Unfortunately there are many examples in history of bad actions that survive as information long after a conscious information holder has ceased. There are of course many good ones too.

    Another way of understanding it is to witness how your information: your values, behaviours and beliefs is pasted from parent to child, together with both your and you partners genetic information.

    In essence, "you" do not necessarily cease to exist at the point of biological death unless all your information (your genes, your legacy, the memory and data held by others about you) ceases to exist at the same time.

    The question really is: Are "you" simply the organisation of cells, bacteria, fungi and viruses we'd refer to as a human body, or are "you" the sum of your actions and their impact on you as an information set.