War would exist without religion. Humans are horrible creatures who like to kill each other over mundane details, if it wasn't religion it'd be something else. Quite a Hobbesian view there but humanity hasn't exactly proven itself to be the bastion of tolerance and good humour.