OCD was often thought to be an affliction requiring religious intervention.