Because the alternative is starvation. It's not like great food is available for much of the winter in many places. If you couldn't eat the somewhat rotten pie, you didn't eat.
Yes, I give up, you are right. As winter progresses in Norway, everything starts to go off in the heat and the only way to avoid starvation is to season the rapidly decomposing food supply with spices worth more than their weight in gold. I withdraw my erroneous comment.
"Spices can also exert antimicrobial activity in two ways: by preventing the growth of spoilage microorganisms (food preservation), and by inhibiting/regulating the growth of those pathogenic (food safety; Tajkarimi et al., 2010)"
People don’t make a bunch pies in fall and then store them for winter. They’ll store rawer ingredients, like flour, live animals or dried and pickled veggies and meats that don’t perish as easily.
People would often make a pot pie, which got it's name from literally being the pot they cooked the food in. Everyday they'd remove the top, add more ingredients, and cook it again.
I'm unsure of which regions did this, but I didn't mean they baked a bunch of pies in the fall.