When my dad gave me all his homebrewing equipment, he also gave me all his bottles. There were 6 beers in there from when he used to brew, that were bottled in 2010.
They were almost complete vinegar. I have cooked with that in lieu of wine for a ton of recipes and they turn out awesome. Not a bad use of "bad" beer.