Because self-defense of active threats is not the only purpose of the military. The military does not need to involved in combat to be part of an active geopolitical strategy. It's mere existence and size are themselves an extremely effective tool for peaceful foreign policy.