G.k. Chesterton said this quote

Drink because you are happy, but never because you are miserable.