No, it’s not.
Only prolonged wars as a tool to extract wealth (via inflation) from the middle class of the *stronger* side - will be unaffordable.
But wars occurred under gold standard too. If the weaker side has resources worth taking, somebody will try to take them. It could even be a semi-private initiative like the Conquistadors in America, or a stock-market business like the East-India company.