Comparative Advantage
David Ricardo's proof that two countries both gain from trade even when one of them is better at making everything.

David Ricardo was a London stockbroker who made a fortune betting on government bonds around the news of Waterloo, retired, and wrote economics. In 1817 he published the argument that is still the least intuitive idea in the subject and the one economists are most confident about.
Take two countries and two goods. Suppose Portugal can produce both cloth and wine with less labor than England. Common sense says Portugal should make both and England should give up. Ricardo showed that this is wrong. What matters is not how the two countries compare to each other, but how the two goods compare inside each country. If wine is the thing Portugal gives up least to produce, and cloth is the thing England gives up least, then both end up with more of both if each concentrates on its own relative strength and trades for the rest.
That is why a country which is worse at everything still has something worth selling, and why talk about national competitiveness misleads. A country is not a company. A company can be driven out of business. A country always has a comparative advantage in something, because the comparison is with its own alternatives.
The part that gets left out
Ricardo's argument promises that the country as a whole gains. It does not promise that everyone in it gains. Opening up to trade raises the returns to whatever a country has plenty of and lowers them for whatever is scarce. In a rich country trading with a country full of cheap labor, that means capital and skilled workers do well and less-skilled workers in exposed industries do badly. The research on China's entry into world trade after 2001 found exactly that: losses concentrated in particular American towns, lasting a decade or more rather than being absorbed by workers moving elsewhere.
Comparative advantage is also not permanent. It comes from technology, skills, capital, and institutions, and all of those can be built. South Korea had no comparative advantage in shipbuilding or semiconductors in 1970 and manufactured one deliberately. Taiwan did the same with contract chip fabrication. Whether governments can pull this off reliably or only now and then is a live argument, but nothing in the theory says it is impossible.
Where the theory meets strategy
The awkward part for governments is that comparative advantage does not care who your supplier is. It says buy the cheapest chips, the cheapest antibiotics, and the cheapest rare earth magnets wherever they are made. Strategy says do not let a rival control something you cannot do without.
That tension is the entire content of the trade arguments of the 2020s. Friend-shoring, de-risking, export controls, and subsidies for domestic chip plants are all versions of the claim that the efficiency loss is worth paying as insurance. Adam Smith conceded the same point two centuries earlier when he wrote that defense is of much more importance than opulence.
Comparative advantage is true and it is incomplete. It tells you what the cheapest arrangement is. It does not tell you what to do when the cheapest arrangement puts something you cannot live without inside the borders of a government that may one day want leverage over you.