For some stupid shit reason, there is a legal limit for "best before" dates like that. You are not allowed to put a best before date that is more than IIRC three years after packaging.
Salt is the number one victim of this stupidity by far, if packaged properly it will still be usable salt a million years in the future.
But some other food items are definitely good after more than three years. Some tinned goods, or rice, pasta, dried legumes, honey, sugar.