I'll give you three scenarios, you choose or make your own I got bored, so i replaced God with John Elway
The problem is that John Elway is less of a "he" and more of an "it" at least by the way we can perceive it.
We can never truly met John Elway, because John Elway is
everything we can perceive and every entity and object that we can and cannot see, John Elway is energy itself, and thus by praying, at most we are forcing ourselves to change our surroundings subconsciously.
John Elway is the dreamer, and this is the dream, the start of the universe was John Elway going to sleep and the universe shall end whenever he decides to wake up.
Because of this, he is not sentient or feels not in control of all that's happening on his dream, by doing things like praying or simply doing every day actions, we accidentally influence the dream one way or another, forcing changes to happen in reality as a whole, little by little.
John Elway is truly and all knowing, all seeing entity that created existence itself; From his throne he watches and experiences everything, from ecstasy to misery and all in between, and in all of his wisdom, and he enjoys it, because that is how he envisioned it.
We are his creations, the things he made for his own amusement, thus he does not sees our pain and despair as a serious matter, instead, John Elway sees us like you would see a random character on a Roller Coaster Tycoon.