We can see it from the fact that they isolate people with infectious diseases like we do.
They just do it in a different way than us. We isolate people with infectious people in a sterile place to be taken care of.
The ancient civilization usually just burn them alive because they believe that those people were punished by the gods.