In the Bible, individuals described as "insane" or "lunatics" were often thought to be demon-possessed, exhibiting bizarre behaviours. However, modern interpretations suggest that not all instances of mental illness in biblical texts are linked to demon possession, as mental illness is understood differently today.

 bible.ca Yale University