Isaiah 40:27…”Why do you complain, Jacob? Why do you say, Israel, ‘My way is hidden from the Lord; my cause is disregarded by my God?'” God asks this question here, because He actually knows all, and is omnipresent. When people are big and God is small, its easy to assume that an unanswered prayer means He doesn’t care or isn’t paying attention, or that we just didn’t believe hard enough or didn’t use the right words. Of course we cannot control God like a puppet, so there are no magical words, and He is glorified simply by our going to Him in utter dependence. So, the purpose of prayer, mainly, is for us to depend completely on our Father. It’s about our humbling ourselves and petitioning Him for help. Our prayers should regularly consist of praise and thanksgiving for our salvation in Christ, like in Ephesians 1:3; “Praise be to the God and Father of our Lord Jesus Christ, who has blessed us in the heavenly realms with every spiritual blessing in Christ.” If we’ve been saved, then He knew us before He spoke creation into existence (Ephesians 1:4), so our way has never been hidden, and we’re not disregarded at all.
“For he chose us in him before the creation of the world to be holy and blameless in his sight.”