In my 27 years in the military I have been trained as a Water Purification Specialist and a Nuclear, Biological and Chemical Specialist as well as attending Officer Candidate School, and the Captains Career Course. Along the way I have gotten an Associates in Applied Science, a Bachelor's Degree in Chemistry / Geology and a Masters Degree in Environmental Health and Safety. All without getting 1 dollar in student loans. For me the military provided the discipline and fundamental skills of a life long educational plan that has helped me in each of my careers.
Now the military is not the only way to get these skills. You can get them through internships, apprenticeships, volunteering or being lucky enough to find a mentor to help you navigate the early steps of your life. Good luck!