Here’s where prayer comes in. We know not what we should pray for as we ought. We don’t know the end from the beginning as He does. So, our prayers ought always to be prayed according to His plan. This is infinitely wise, for God delights to answer prayer according to his will.
And the Father who knows all hearts knows, of course, what the Spirit is saying as he pleads for us in harmony with God's own will. 28 And we know that all that happens to us is working for our good if we love God and are fitting into his plans. Romans 8:27-28 TLB