He found to his relief that the increase in value production by private companies more than compensated for the increase in unproductive government consumption. Unlike Smith, Ricardo did not write about that part of government expenditure which creates the conditions for productivity in the first place: infrastructure (bridges, roads, ports and so on), national defence and the rule of law.