Civilians don't run the military. The military experts run the military. That's a good thing.
And the military doesn't run the government. That's also a good thing.
The only way your analogy works is if you think it's a good idea to appoint generals and admirals who have no military experience. I hope you don't.