John Proctor, despite his unfaithfulness to his wife, has a good heart within him. This is because he was able to realize that what he did is not good and he learned something from his mistakes. He was also able to correct his mistake by telling the court about his affair with someone else. With what he did, he showed to everyone that he is willing to sacrifice his known name for him to protect his wife, and that's how he regained the trust of his wife.