You’ve probably heard it say that you can only love someone else as much as you love yourself. But it is also an act of self-love to love others when you feel pulled to do otherwise.
When you choose to harbor anger, resentment, judgment, or anything else of a similar flavor towards anyone else, you are the one stuck with that feeling, not the other person. Love yourself enough to share love out. You receive what you send.