Since the 18th century, many Western intellectuals have predicted religion’s imminent demise.