Lets say that you are a smart person, so you make food supplies which include sugar, oil, flour, wheat, chocolate... the stuff which is mostly cheap or desirable, lasts long and contains plenty of calories, useful as supplies in both nuclear war and to counter constantly rising food prices by buying plenty of food before it becomes more expensive.
Then the problem appears.
A stupid person appears, who made no supplies but enjoyed spending his money on lots of stuff instead of securing his future, then a nuclear war happens, and he is left without any food.
Lets look at how stupid person thinks.
Stupid person thinks: "I was stupid and didnt care about my future despite plenty of warnings, but I shouldnt be punished for my bad actions. Oh look, that guy has food and he should share it with me."
Lets look at the complete situation now.
A smart person worked to secure his future to have food, while stupid person enjoyed in the moment, but now smart person must share food with stupid person, so stupid person actually has secured future all while fully enjoying present.
Such is Tao, where stupid person ends up being the smartest.