Only recently can people access "the world" goods. In the past there was limited range to provision from outside. Mostly boats and carriages. Famines could then occur because of a bad harvest or a few in a row. Farming has never been a surefire thing!