The purpose of prayer is for you to realize that the only one who can give you what you need is Hashem. And then you can come to realize that you don't need anyone else. And the only one you need is Hashem.