Hardy and religion