The idea that everything would happen exactly as it does regardless of whether we pray or not is a specter that haunts the minds of many who sincerely profess belief in God. It makes prayer psychologically impossible, replacing it with dead ritual at best.
