I mean hunger from a lack of available food, not from eating food that overstimulates your systems (the simple carbs). The solution to this is primarily education (so people make healthy choices), and availability of healthier alternatives.
That said, all of civilization is built on the ready availability of refined carbs brought about by agriculture. This isn't a modern phenomenon. The only modern thing is that suddenly our food production is outstripping population growth for the first time in ever.