Forgive others, not because they deserve forgiveness, but because you deserve peace.
-Jonathan Lockwood Hule

Being angry at someone will definitely hurt you whether it does or does not lead to a consequence for the other person. Letting go of your anger, can benefit your health by getting rid of negative emotions. In this context, forgiving does not mean forgetting, but rather coming to accept the fact that it happened.