What has kept me in (after joining to get better pay during college) was medical services for my child and (related to that) the potential to get one of the few remaining good pensions available in the U.S.
In fact the latter thing is the only real incentive keeping many very talented members of the military (or at least the Navy) in technical fields at pay below the private sector.