George Carlin raised a pretty solid question when he asked why people should pray to a divine being that already has an unchangeable divine plan in place.
In other words, isn’t prayer just commenting on the movie unfolding in front of you?
Many great theologians have said that prayer may or may not change God. But, one thing’s for certain: prayer changes the one who prays.
However you talk to a higher power, the very act of talking to God changes your way of thinking and acting.