this is a very US centric view and problem... in other countries lower income does not correlate with no access to local grocery shopping school etc...
a german newspaper did a great income analysis of german cities [1]. You really see the differentiation in income, but if you overlay (at least for the cities I looked at) it with a map even in the low income neighborhood you get decent grocery shopping in walking distance (Lidl has also good organic produce/groceries) and schools and gyms etc...
[1] https://www.zeit.de/community/2023-02/einkommen-deutsche-sta...