Fighting wars is waaaay cheaper than taking care of the servicemen. Gotta be born in mind that retirements, benefits, pensions etc make up more than a quarter of the entire defense budget. Costs more to keep the bennies flowing than it does to maintain the entire Air Force or Navy.
Its no small thing. Not excusing the failings, just pointing out the amazing scale of the problem.