That's not how it worked. Armies had the tendency to eat more than the locals could provide. A region that could feed itself suddenly has to provide for thousands of soldiers. This is why war inevitably led to starvation.