It may surprise you, but the Military provides a salary that competes with that of most civilian careers.
Depending on your role, you may be eligible for additional pay, and all military compensation includes a housing allowance and insurance contribution.