She may have thought, however, that she was giving him another chance and that he was promising, in exchange, to do better.
It's possible that she thought she was giving him another chance and that he was going to do better.