http://revach.net/article.php?id=162

Section: Parshas HaShavua   Category: Quick Vort
Parshas Kedoshim: Arizal - How Can We Possibly Love People Who Have Wronged Us?

The Arizal says that before davening one must have in mind to fulfill the mitzva of loving every Jew. What is the connection asks Rav Shimshon Pincus Zt"l. He explains that if we believe that everything that happens to us, whether pleasant or otherwise, comes from Hashem than the people who deliver Hashem's will are simply puppets. We therefore harbor no resentment against people who have wronged us.

If we want Hashem to answer our tefillos we need to acknowledge that he is the master of our fate and there is no better way to prove we believe that than to love everybody regardless of what they have or haven't done to you.