Not a great quote for a scientist, so I looked up where it came from, a conclusion of many paragraphs about the necessity of God in his final book.
It’s my view that the simplest explanation is that there is no God. No one created the universe and no one directs our fate. This leads me to a profound realisation: there is probably no heaven and afterlife either. I think belief in an afterlife is just wishful thinking. There is no reliable evidence for it, and it flies in the face of everything we know in science. I think that when we die we return to dust. But there’s a sense in which we live on, in our influence, and in our genes that we pass on to our children. We have this one life to appreciate the grand design of the universe, and for that I am extremely grateful.
Sagan had a similar take - he didn't like the term atheist as it implied certain evidence of the lack of a divine being, proof of a negative, something that isn't very scientific. Rather he preferred to be called agnostic on the topic of gods existing, saying there was no conclusive evidence yet for their existence.
A bit long, I just had to say something about the short quote since Hawking was very much a scientific person.