Prayer changes things. God is all-wise and all-powerful and knows the end from the beginning, so he can weave our requests into his eternally good purposes.