@poemblaze All the advice I've seen from actual chefs is, after a year, spices should be replaced.
But, truth be told, for spices that are rarely used, I'll give them a taste when I see something I'm making calls for it, and if it's tasteless, I might still use it, then toss.
I do have some dried spices vacuum sealed and in the freezer. I do that with bay leaves sometimes. They have decent flavor for over a year that way.
@poemblaze I do that with garlic and chili powder. Use both all the time. The big ones only last me 3-4 months