Yeah, that was the mean Idea I was going for, like in a situation where both the person who is apologizing and the person who's forgiving him/her is in the wrong, like fighting between 2 people like you mentioned.
Good question, what I meant was that if you forgive and forget, you might forget what your mistake was that you to apologies for and if you forget what your mistake was, there a possibility you might do it again, so I think it's better to learn from you mistakes then forget them.