eremitism

noun
  1. the practice or way of life of a hermit; religious seclusion and solitary devotion.
  2. Usage: often used in religious or historical contexts

Examples