I have a disembodied memory of an occasion where someone was apologizing for a wrong he had done, and the recipient of the apology said, "Don't be sorry, just don't do it again". Even then - it must have been years ago - something seemed wrong about this reasoning. I can't guarantee that I'll never do it again, but I can guarantee that I am sorry for what I have done. But the point was really driven home when I was watching the HBO series "Rome".
In it, an important and well loved political and millitary figure is assassinated. The assassin clearly respected the man he was killing, but his orders from the other side overrode that respect. As he drove the knife into the man's belly, he said to him with great sincerity, "I'm sorry sir".
Sometimes we do things that are beyond our control. Certainly we have the responsibility to control what we can, and not willingly do others wrong. And if we had total control of our actions, if we are truly sorry for what we did, we would not repeat the action. But since we do not, we should at least apologize.
And try not to do it again.