

Like 99% of the recorded ones are going to be one empire or feudal lord fighting another. History was just like that until the last couple hundreds of years.
Since then, there’s been a few much more clear-cut cases, like WWII or Ukraine, but those are unusual. There’s still been a lot of asshole-on-asshole fights like WWI, Russia Empire vs. Japan, Iran vs. Iraq, Napoleon vs. everyone…
Obviously we talk a lot about the just ones, because they legitimately teach us things, and also simply because it makes for a better story.
Edit: The basic thing you said about arms races is totally valid, but the struggle between different ideas and own own better and worse natures is itself kind of a perpetual cycle, and I thought I should point it out.

“It’s not what you know, it’s who you know”
Honestly the fact you can become a coder and get paid for it is impressive, by the historical human society average.