One of my baseless theories is that this is one reason people turn to religion. Because life isn't fair, but some people so badly have to believe that it is, that they'll believe in a god, or karma, or whathaveyou.
But, mostly it's because of a fear of the void, and obliteration, and (for most people) realizing that within a century or three no one will remember that they ever existed.