Yes, every non-capitalist country throughout history has been a beacon of peace lmao
Humans are human. Capitalism is absolutely a driver of some conflict, but conflict is driven not only by economic interests, but also political, ethnic, religious, and other interests.
Look dude, I'm not here to argue about the US's absolutely fucked foreign policy, and in absolutely no fucking way am I saying any one conflict is not driven in whole or in part by capitalism.
But "Capitalism is the primary driver of wars" is a fundamentally false statement. Just because it's a driver of some or even most modern conflicts does not make it "the primary driver of wars." War is a well documented and studied social phenomenon that predates capitalism by thousands of years, maybe millions. Fucking chimpanzee tribes war with each other. There are thousands upon thousands of wars throughout human history that prove your statement wrong.