ChatGPT may be bad at economics, but not because of this answer. Neither Ricardo had a theory of comparative advantage nor Smith a theory of absolute advantage. In truth, both believed that it is beneficial to import cheaper foreign commodities.