Because nobody is perfect, an sometimes heroes are portrayed as perfect. And when characters are perfect nobody can relate, because nobody is perfect.
In "Dover Beach" by Matthew Arnold, the speaker, in a world filled with misery, finds solace with his death. Since there is nothing he can do to change the world he lives in, the only solution and escape is death.