obviously not or something idk lol am i supposed to say no?
Capitalism does not necessarily require war as war, as in, capitalism does not inherently require war in and of itself. However, war is a means to increase the political or economic prowess of a capitalist class in the stronger country, and it is the general goal of the bourgeoisie to accumulate capital by any means. Thus, war can be an option, especially midst crises when the rate of accumulation is lower. It helps by sending men to war, relieving a portion of the reserve labor in the homeland, and by causing destruction elsewhere we can begin a process of reconstruction in the ravaged country after the war, while the economy booms again back on the home front, augmented by the development of an military-industrial complex. By coinciding economic crises with wars, capitalists can maximize overall accumulation of capital. Therefore, capitalism demands warfare because if we assume that the bourgeoisie, as a whole, will act in any way that increases their capital, and war is a more efficient method of doing so during economic crises.
But, I would say you are correct in that most capitalists do not benefit from war. It is mostly the interest of states and those who fund the military-economic goals of states who benefit directly from the onset of war. However, when, militaristic accumulation and economic crises coincide, it ends up being a net gain for the capitalists as a whole.