Stored food is getting old

I think prepping is really great but the problem is stored food is getting old, I don’t really want to eat food that’s a few years old when there is no real emergency, throwing away everything seems like a waste too, what’s your strategy storing food? Is there any food that basically lasts forever? How much food do you store?