Over and over, new religions were built from old ideas