What is the meaning of [alcohol will preserve anything but a secret]

People have a tendency to talk too freely and become indiscreet when they are drunk.