Marriages stumble but some manage to survive through forgiveness but not necessarily by forgetting.
You cannot simply forget a transgression and if you somehow fool yourself into doing so you are doomed to end up right back in the same place. It's better to learn from issues past and move forward with better vision and understanding.