This is alluded to in the subtitle of his most famous work, The Fable of The Bees: or, Private Vices, Public Benefits.
A hint about this concept can be found in the subtitle of his most famous novel, The Fable of The Bees: or, Personal Weaknesses, General Advantages.