An E-5 with a family of 4 would receive a housing allowance (~$2k/mo with dependents) in addition to his salary, in addition to a variety of other potential allowances. Most privates have a housing expense of $0. Military pay cannot be directly compared to private-sector pay for this reason.