how does the Military support democratic ideals?

The assumption is that the military fights our enemies abroad so that we can keep our liberties at home.

What do you think?