The military has rarely if ever been a service that benefited the people more than it endangered it.
No. The military protects the population just by existing. Why is it the mainland of the US hasn't been invaded since the War of 1812? I'll give you a hint: It's not the diplomats or our economy that make our enemies afraid to invade. It's the knowledge that if they invade us, not only will we beat them here, but we'll make sure they don't have a homeland to retreat to.
And this is true of every nation's military to some extent. The mere existence of a large number of soldiers armed with increasingly deadly weaponry is why we live in an age where diplomacy has become the primary means of conflict resolution between nations. Despite all the little wars we hear about in the news, this is still the most peaceful time in recorded human history. And it is the various military forces around the world that make this age of peace possible just by their very existence.