What does the future of religion really look like—and how do we avoid repeating the mistakes of the past?