Babsitters make more...only they work less, sleep in their own beds, and are at much less risk to die.
The military is a lifeline for many without a ton of options.
When I was in high school ( this was stone age era...), there were several of my classmates who were told by their parents that, at 18 years of age, you are expected to get out for good.
For girls in that situation, they can get married. Let's get real here. A young good looking girl is never going to go hungry if she doesn't want to go hungry. Many can find a guy with a good living situation to date/mate/marry/whatever.
For young men though, the option tree can be limited. Especially for those who just didn't do well in school.
There are some people, going into the military meant the first pair of new shoes they ever had. I recognize that's unfathomable to some people, but there are really a lot of Americans in poverty out there. Especially in previous times in the our history.
The other factor is a bad home life. Some people just need to get out. And if they don't leave, it's like they are committing to staying in that kind of self inflicted prison forever. JD Vance is a good example of this.
What no one discusses much out loud is the currency of your looks/aesthetics. That transcends so many other social barriers. The better looking you are, the greater your opportunity base and your margin of error compared to a lot of other people. Good looking people can skirt past a lack of skill or even a lack of contacts/networks.
The other push/pull is ageism. There's a point in your working life where you are too entrenched and too old to practically shift in another direction. So a military career can be a worthy long term investment as long as the person understands that it is actually an investment.
As an end game, the final factor is many don't realize that a lot of pension system are going to collapse. The military career would obviously be one of the last to go. But nothing is safe anymore.
For some, the military is the last option if everything falls apart.
For many, the military is the only option as they've only survived thus far in an existence where everything has already fallen apart.
Sometimes I do wonder if most people here in the PSF truly understand what it means to live in poverty in America.