Your next meal is guaranteed in a way that you can't possibly relate to what someone 2000-8000 years ago had to fear.
Communities built themselves around food production and child rearing 2000-8000 years ago as they nominally do today. I think you may be overstating the disparity in experiencing the negatives (drought, disaster, and war) and ignoring that these conditions also happen today and sometimes also don't get resolved -- people die, starve, drink poisoned water, and so forth.