>I can understand that America is a country whose main export is weapons.
America's main export is software. Apple alone makes way more money than all defense contractors combined.
Missiles and planes are expensive, but you can sell WAY less of those than phones and apps and burgers. (And the missiles and planes are subsidized by the government anyways since they're meant to maintain America's military supremacy and project power, not make money from foreign sales.)