In all times, the great philosophers, engineers, generals, scientists, etc. Were never made up of peoppe that suffered greaters hardship, that starved in the childhood. They were always elites, people with best education or at least middle class.
We've run this experiment, there is zero evidence for it.
These are not the good times. We have plenty to eat and too much technology but these are not what make the good times.
Inequality sure, but the economy has been on a tear in the US since the 90’s, contrast that with the decade of the Great Depression.
And the riots now are nothing compared to the 60’s riots worldwide.
The last 20-30 years have definitely been easy times for the developed world. Not without challenges (2008 crash) but relatively speaking easy times.
When things really go to shit, you'll find your purpose and have to rely on others. That creates strength and good times, eventually.