Nice article listing 16 different foods that will never spoil. If you are trying to have foods stored for emergencies and can’t afford the freeze dried foods that are pretty pricey check out this list from Zombease. These are foods that you can use in every day meals and that you will never have to throw out because they are past their sell by date.
These foods just don’t go bad. I will add that when your beans get old they do dry harder and as the article says will require a longer soak time but if you have baking soda you can add a tablespoon or 2 to the soak water over night, drain and cook with fresh water the next day. The baking soda will make the beans soften up a lot faster than just plain water.