It was not a bad line if you think the ghost was real and she was expressing sympathy and understanding for him, but if you think the ghost was just his own imagination, then the line becomes about Daniel absolving himself for everything he did wrong and is unmerited self-pity.