Another point of reference: Israel is 80% desert & is mostly (aside from grains imports) food independent. Food is expensive in Israel (2-3x German prices, anecdotally) but availability and diversity are good.
Modern agriculture makes local production possible almost everywhere, it's just not as cheap as importing.