The beauty of modern wars is that it is not fought for traditional monetary or imperialistic gains, but to consolidate leadership. Look at Iraq war, Kargil war, or Israel war. Both sides proclaimed victory and leaders gain popularity.
Dictators and incompetent leaders use wars to stop people from questioning their competency, asking for basic necessities like food, water and roads.
Hence we have come to an era where wars are used to arouse nationalistic feelings, unite ones own people and curb domestic opposition.