Spices were really popular in the Middle Ages. They were brought from Africa and Asia and were used not only in cooking but in medicine as well. 1 pound of nutmeg could be exchanged for a cow. And to pay a fine, spices were used instead of money.
People who could afford a few pounds of pepper or saffron didn’t eat spoiled meat. The widespread use of spices and seasonings were merely a trendy phenomenon.