During Prohibition in the US, it was illegal to buy or sell alcohol, but it was not illegal to drink it. Some wealthy people bought out entire liquor stores before it passed to ensure they still had alcohol to drink.