My Godson and I were discussing this last month. I brought it up because I was using a box of Kosher salt that "expired" in 2021.
It sat in the ground for millions of years and I got it as it was expiring. Rotten luck.
I'm brave enough to continue using it though.