Delayed gratification AFAIK has solid research as a trait predictive of many things. That a child's ability at 4 or 5 to do it being predictive of their adult self is something else, though.
Sounds more like the test is just testing for an adaptation that happens to be well suited to living in a upper-middle class to wealthy environment. If resources are scarce, the kid that takes what they can get now rather than trusting other people will do better in the long run.
Breaking the feedback loop usually involves doing something farsighted, risky, and irrational - for example, risking getting fired from your retail job by studying programming and applying to software engineering jobs in your downtime, or quitting your stable corporate job to found a startup.