But he would probably be able to support more grad students, that may not otherwise be able to be in grad school, if he took the military funding.
But if not, there is an amount of unethical, unacceptable funding which trumps the good of the grad students it provides for.
Couldn’t some other professor take the available funding, and support those additional students?