I've shot 30/06 ammo that was over 50 years old with no trouble. Made a really nice 100 yard offhand group too.
I have fired shotgun shells that were probably 60 years old, again, without any issues.
Good ammo can be useful for a long time if it is stored correctly.
Jim