What are some good foods to buy that last really long and taste good
So right now I have money but I won't have money for long and probably not for a long time after. Anyways, I used to buy a lot of canned food to save for when I got poor and hungry in times like these. However I think canned food is really gross. Doesn't matter if it's a good brand or more expensive, it still tastes sad. It's not the worst but if that's my only food option I'll definitely skip meals.
I really would prefer vegetables, fruits, meats, and anything I could make a real meal with at anytime. However Veggies and produce go bad so fast I don't know what would last the longest. I just want storage foods that are real foods or foods you'd eat typically. Even things like goldfish crackers I'll stock on.
Are there any "hidden gem" foods you think taste great (or are filling/good for you) that last a long time? Thank you all answers help. I live alone and am 21 so I'm new to figuring things like this out