This quote means that you should follow through with what you say, even when you said it while you were drunk. Otherwise, it could be seen as making promises you don’t intend on keeping, which isn’t good. The phrase is also subtly suggesting that if you follow this advice you won’t make such careless comments while under the influence of alcohol and will therefore have a better chance at avoiding regret in the future.