Most join the military to get a free degree. Many nerds work for the military cause they're the only ones who have the funds for cutting edge vision or energy projects. They're ordinary humans who want a job, and aren't actively evil.