Leviticus 13:7
“Then the priest shall look upon it: and, behold, if the hair in the bright spot be turned white, and it be in sight deeper than the skin; it is a leprosy broken out of the burning: wherefore the priest shall pronounce him unclean: it is the plague of leprosy.”
Several times throughout history, governments quarantined people who had diseases considered contagious and dangerous to society. If doctors didn't know how to treat the communicable disease, the only thing they knew to do was quarantine the person with it so they wouldn't spread it to others. Though this practice may seem severe and to some inhumane, this is the only way to keep the rest of society from being contaminated from the communicable disease.