I made a bit of list for you poor folks in USA likely to be hit by Trump's tariffs,
what I would personally prioritize getting in approximate order of necessity when economy dries up or prices gallop away:
rice (both whole grain/brown for fiber and nutrition while also white for ease of use and price)
dried/canned beans and similar (red/green lentils, kidney)
salt (essential for body)
cooking oil (canola)
canned tomatoes (base for many soups/sauces)
pasta (spaghetti, etc, preferably whole grain)
rolled oats (quick food with low own sugar)
low complexity sugar like dried fruits (raisins, date paste, dried apricots), plain sugar or honey
spices (peppers, dried granulated/powdered garlic, etc by taste, for morale)
nut butters (peanut, cashew, etc, quick high energy and protein)
canned/pickled veggies (choose by price and taste, for variety)
flours (if you plan on baking: also dried yeast)
coffee/tea (sometimes a pick-me-up is needed)
soaps (liquid, as generic as possible to enable same being used for body, floors, dishes, laundry)
multivitamins (to attempt compensating for potential lack of fresh veggies and variety) with in particular B12
I am NOT a doctor.
I have, however, gone 6 months on no income, then 6 again just after and had other similar experiences, sooo… I'm sharing my experience.