It is true that defense money gets redistributed across the population and into the economy, but that has always been the case and inflation was in check.
The fact that you are insinuating that this has anything to do with the current inflation problem is misleading. In 2023 we are dealing with the fallback of Covid fiscal policies, not defense spending.