I had a can of black pepper I bought somewhere around 2008, maybe earlier. Lasted til 2018 or 2019. Never lost it's strength or flavor. I have home canned jellies and jams many years old. All taste fine. Think about it, manufacturers wanting turn over so you buy more. Government turns a blind eye as that leads to more tax revenues. Just my opinion. My belief is that God gave us 5 senses, use those, you'll do fine.