Reminds me a bit of the Jacob’s Ladder quote:
“The only thing that burns in hell is the part of you that won't let go of your life: your memories, your attachments. They burn 'em all away. But they're not punishing you,' he said. 'They're freeing your soul. If your frightened of dying, and your holding on, you'll see devils tearing your life away. If you've made your peace then the devils are really angels freeing you from the earth.”
I think you'd like the film Mullholland Drive (2001), it dealt with this theme in such a profound way, that to be honest, it completely transformed my whole way of thinking around death, life, hopes, fears and the essence of dreams. Would definitely recommend, by far one of the best films I've ever seen.