In practice, social groups (from tribes to big nations) tend to treat murder very differently from killing in war.
Sufficiently long term, everyone is dead, and I am not sure if we can tell those long-term effects that you foretell from random chance.
The Roman Empire is very dead, but so is the Carthaginian one. Nevertheless, a lot survives from the Roman Empire: basics of law, their alphabet, descendant languages and a certain fame. Quite a lot for famously war-like people.
In comparison, the Carthaginians are gone completely, only fans of history know anything about them. And they are gone because they lost a series of wars all too decisively.
Plenty of people know who Hannibal Barca was. But sure, they probably don't know anything else about Carthage.
Fun fact, the main lesson from that war on the Carthaginian side was that you never let the merchants control the state in a time of war. There was a point where Hannibal was one siege away from erasing Rome from the history books and the leaders in Carthage called him back because sieges are expensive. This decision cost those leaders everything. Most of western history ever since swung on this lone bad decision. Its one of the few true inflection points in history.