It's not? Aside from the World Wars has any military conflict not been self-interested, nationalist or just being pretty much pointless?
Not even close. There have been multiple wars in the past century that served the purpose of self-protection, independence, supporting allies, deposing dictators, and Human rights.
The idea that wars are pointless is nothing more than a charming cliché.