Mandeville's paradox
Mandeville's paradox is named after Bernard Mandeville, who shows that actions which may be qualified as vicious with regard to individuals have benefits for society as a whole. This is already clear from the subtitle of his most famous work, The Fable of The Bees: ‘Private Vices, Public Benefits’. He states that "Fraud, Luxury, and Pride must live; Whilst we the Benefits receive.") (The Fable of the Bees, ‘The Moral’).
The philosopher and economist Adam Smith opposes this (although he defends a moderated version of this line of thought in his theory of the invisible hand), since Mandeville fails, in his opinion, to distinguish between vice and virtue (The Theory of Moral Sentiments, Part VII, Section II, Chapter 4 (‘Of licentious systems’)).