Spices did not hide spoiled meat
Medieval European cooks used spices for flavor, not to cover up spoiled meat. Spices were costly and less effective at preserving food than salt, smoking, pickling, or drying. Cookbooks advised adding them near the end of cooking, too late to preserve the food.