We have been warring before the dawn of civilization. I think it used to play a role in territorial resource usage/rights, evolutionary selection, population control and asserting your own set of morals.
I wish we all get over war, but realistically, as long as we differentiate between "good" and "bad", there will always be some source of enmity to start wars..