I wonder if there is such a clear cut between aid and military spending. Most of the aid of Europe is send to Ukraine government such that the government can spend that money. I understand that about 90% of the USA military spending stays in the USA and is actually stimulating the economy.
This war is also a display of weapons produced by defense industries in the USA and increase the spending of foreign countries in the USA. So, the netto effect might be actually turn out to be possitive, if it were not chilled by the current position of the USA in not providing weapons. This is definitely not making European countries happy and might actually result in the EU on putting substantial effort in developing it own weapon systems in the coming decades and reduce the spending the USA.