If it's unopened, it can last for decades though beer is likely to not age well unless it's brewed specifically with that in mind.
Wine and hard liquor can typically last decades unopened and many wines taste better with age.
Once opened, beer quickly loses its carbonation, and wine will spoil within a few days if it's not refrigerated. If you keep it cool, it won't spoil but will start to taste blah after a week or so. You can keep it fresher longer by pulling the air out of it and sealing it.
Hard liquor lasts years even once opened.
Milk can sit out for about 2 hours before it goes bad. After that, it should be refrigerated to keep it fresh.
Butter can typically be kept in the refrigerator for up to one month before it goes bad.
Coleslaw can typically be kept in the refrigerator for 3-5 days before it goes bad.
Dough can typically be kept in the fridge for 1-3 days before it goes bad.
Cooked pasta can be stored in the fridge for 3-5 days before it goes bad.
Tuna can be kept in the refrigerator for up to 3-4 days before it goes bad.
Marinated chicken can be kept in the fridge for up to 2 days before it goes bad.
Potato salad can be kept in the refrigerator for 3-5 days before it goes bad.
Simple syrup can typically be kept in the refrigerator for up to one month before it goes bad.
Cooked spaghetti can be safely stored in the refrigerator for 3-5 days before it goes bad.
Fish can be safely kept in the refrigerator for 1-2 days before it goes bad.
You can keep turkey in the freezer for up to 12 months before it may start to go bad.