Religion as a Chain of Memory