Before epilepsy was understood to be a neurological condition, people believed it was caused by the moon, or by phlegm in the brain. They condemned seizures as evidence of witchcraft or demonic possession, and killed or castrated sufferers to prevent them from passing tainted blood to a new generation.
It’s more from an individual point of view. It’s a common psychopathic tendency to blame your actions on others, which is not a helpful or healthy way of dealing with them. I’m not thinking in terms of punishment as much as acknowledgement of the problem.