She may have thought, however, that she was giving him another chance and that he was promising, in exchange, to do better.
She may have believed that he was going to try to do better in exchange for another chance.