How religion and religious beliefs occur in wars