“When you pray, don’t babble like the idolaters, since they imagine they’ll be heard for their many words.Don’t be like them, because your Father knows the things you need before you ask Him.” (Matthew 6:7–8 HCSB)

One of the things that we can conclude from this statement by Jesus is that we are not commanded to pray in order to inform God about what we need.  Jesus himself—who knew something about God the Father—tells us: Your Father knows the things you need before  you ask Him.

Why then pray, if God already knows what we need? (Matt 6. 31-33).

I’m glad that you didn‘t asked.

We pray to express trust and dependence.  When we go to our Father to tell him what we need, we are demonstrating our trust and dependence upon Him as our Father.  This is a good thing.  God is always and ever out to teach us more trust and more dependence.  Being needy, causes us to run to him.

He gets to provide what we need.  This glorifies Him.  We get our needs met.  This benefits us.

In a weird way, prayer is God’s way of making Him look in practice what he certainly is in fact: Great!, and getting us what we need.