William Petty Quotes
That all Superfluities tending to Luxury and sin, might be loaded with so much Impost, as to serve instead of a sumptuary Law to restrain the use of them. But here also care is to be had that it be not better to smuggle then to pay.
Sin Taxes have been used to discourage certain behaviors for a long time.
William Petty, 1623-1687, English Economist & Demographer, A Treatise of Taxes & Contributions, 1662
Sourced by: Eigen's Political and Historical Quotations
Napoleon was referring to vices like alcohol, opium, and tobacco which could be taxed heavily with much support of many citizens. This could finance the nation. That was the logic of the quote.
Sir William Petty FRS was an English economist, physician, scientist and philosopher. He first became prominent serving Oliver Cromwell and the Commonwealth in Ireland. He developed efficient methods to survey the land that was to be confiscated and given to Cromwell's soldiers. He also remained a significant figure under King Charles II and King James II, as did many others who had served Cromwell.