If humans have free will, then what's the point of praying to God?

For example, I can't simply pray to God to give me something, right? I gotta work for it. If so, then what's the point of praying for God's help in any scenario? Prayers are rendered useless.
If humans have free will, then what's the point of praying to God?
Post Opinion