Why religion makes our republic work