There are many different kinds of prayer. Yet all prayer has one basic purpose. We pray not to get something, but to open up a two-way street between us and God so that we (and others) may inwardly become something beautiful that we share with others.
The very thoughts that allow us to hurt another limit our ability to express the will of creation through ourselves. At the same time, each time we love another, we have just loved ourselves. Each time we create time for another, strive to understand another, we have just done each of these things for ourselves. When we disapprove of the actions, choices or beliefs of others, we witness through them those portions of ourselves that ask for a greater healing.