Spices were not for masking rotten meat
The popular idea that medieval cooks used spices to hide spoiled meat collapses on price: pepper and cinnamon cost far more than fresh meat, and the rich people who could afford spices were also the ones with access to fresh meat. Spices were costly additions to good food, not cheap fixes for bad food.
