A new study suggests drinking a moderate amount of beer and wine could help reduce your chances of developing type 2 diabetes.