Food is not free is the military, but you do get a Basic Allowance for Subsistence (BAS).