The objective, apparently, was to remove the rotting parts of the infected tooth. That isn't all that different from how dentists treat cavities today. When you go to your dentist with a cavity, they also remove the infected part of the tooth. The difference is, nowadays, they can numb the part of your mouth with the cavity, and also fill it in after the infected part is removed. Also, your dentist isn't using rocks to fix your teeth.