Military technology kills a few people (large harms to a few people), but advertising diverts vast amounts of money towards industries where it is easy to take advantage of cognitive biases to create artificial distinctions between products (small harms to lots of people). And both have their legitimate justifications too. People need to know about new products and services and advertising helps them find those products and services. And while you may be a pacifist, Americans are decidedly not. They want a country that sits at the top of the world and they want to be protected from hostility and Lockeed gives Americans what they want in that regard.
And even for a pacifist: we live in the most peaceful time in human history. American military supremacy, plays a big part in maintaining that state of affairs. Countries that might be incentivized to wage war (as countries have done since there were countries), avoid doing so because they know the American military response will be swift and overwhelming.