Be anxious for nothing, but in everything by prayer and supplication with thanksgiving let your requests be made known to God. And the peace of God, which surpasses all comprehension, will guard your hearts and your minds in Christ Jesus. Phil 4:6-7
In a way that’s a form of a bigger question that sometimes people who ask that question don’t ask, which is, “If God has planned all things, why should we do anything?” And we understand that what we do as Christians we do for a variety of reasons.
One is because God has taught us to do it in His Word. So the bargain basement level answer to the question is that we pray because God has told us to pray, even if we don’t understand how prayer works and how He employs our prayer.
The second thing is to say that the sovereignty of God does not destroy human responsibility but is actually the foundation for it. And the sovereignty of God never destroys secondary causes. So what we want to say is that God plans all things. We pray because, among other things, our prayers are part of the instrumentation God has planned in order that He would fulfill His purposes.