Man invents gods because he's afraid of being alone, scared of an empty universe, scared of the darkling plain.
Nightflyers - George R.R. Martin

George R.R. Martin, A Song for Lya