Economists (whatever they were called back then) in the god damn 18th century understood that regions had specific goods and services that could be produced cheaper and better, and that they should trade those for goods and services produced cheaper and better in other areas.
Comments
https://en.wikipedia.org/wiki/Ea-n%C4%81%E1%B9%A3ir