If God is omniscient, then he knows in advance all the prayers I will make, and all the prayers that I won't make. This is all a part of God's plan for me. How will my praying bring me closer to God if that is not a part of his plan? Just as prayers petitioning for things can't alter what he has already foreordained, neither will my praying affect his plan for me. You can't escape the inexorableness of God's plan by focusing on God's plan for me. Both are a form of petition to change God's plan. Either God's plan for my prayer life is set or it isn't. Either God's plan is inviolate or it isn't, including his plans for me. It seems silly that after a life doing nothing other than what has been ordained for me, I am then supposed to be judged on what God already knew before I was born. It seems rather callous and petty for God to judge me when I really couldn't have done other than what he had planned. Either way, you can't escape the paradox that extra prayer to bring me closer to God has been ruled out by his omniscience.
Omniscience and an inviolate plan don't mix very well.
Omniscience and an inviolate plan don't mix very well.