The passage and then repeal of the 18th Amendment, banning alcohol in America, highlighted the pitfalls of trying to legislate against vice.