I guess the title should say "Every developed and some developing countries". Other countries have troubled economies that barely allow to have armed forces, let alone to purchase a new hardware.
On the contrary - quite a few poorer countries have remarkably well-funded militaries. There's a saying in Africa - "The poorer the country, the bigger the Mercedes."