Man or mere machine?

The thought came to me in conversation with an atheist friend that really all we are is a few electrical currents in the soft tissue of the brain connected to an inanimate body composed largely of water maintained by a muscular pump. But do we have to base our belief on such a depressing dead end? Cannot fact be turned by belief?