OK, maybe saying these 5 foods will last forever when stored is a bit of an overstatement, but they'll last a really, really long time before they need to be replaced. This is assuming they're properly stored in an airtight container in a cool, dry place. Store them improperly and their useful life will be drastically shortened.
Here's one that's a bit surprising. Honey, even after it's been opened has an indefinite shelf-life. Store it in a cool, dry area of the house and make sure the lid's on tight. The color and the flavor may change and the honey may crystallize after it's been stored a while, but the natural antibiotic properties of honey will prevent it from going bad. When scientists unearthed Ancient Egyptian tombs, they found honey that was thousands of years old that was still edible. How's that for longevity?
While we all know brown rice is better for you than white rice in the health department, white rice will last longer in the pantry. When stored in an airtight container, white and wild rice can last nearly 30 years. Brown rice will only last 6 months or so in the pantry or up to a year in the freezer, so rotate your stock of brown rice regularly.
Keep your sea salt in an airtight container and it'll last a very long time. The best thing about salt is other foods can be packed in it to help preserve them as well.
Sugar naturally creates an environment in which bacteria has trouble growing. It has an indefinite shelf life when properly stored. When kept free of contaminants and kept out of the open air, sugar might outlive the average person. White sugar may clump up a bit, but the clumps can usually be broken up and used.
Brown sugar is the exception because it's naturally moist and will harden into a solid clump when stored unless the container it's stored in is completely airtight. You may be able to soften brown sugar up by adding a few drops of water to it and letting it sit in a plastic bag for a couple days.
Powdered milk can last years when stored in an unopened container in the freezer. Storing it in the pantry will shorten it's lifespan, but it'll still last quite some time. Once it's been reconstituted, it'll only last a few days in the fridge, so make sure you store it in powder form. It's best to store it in smaller containers because constantly opening and closing a container will cause the powdered milk in the container to go bad faster.