Take Section 9 housing. Originally, it was setup for everyone to live in, with the idea that tenants would have the skill to maintain their housing,and local governments would provide funding.
However, what happened is that suburbs got built and setup rules so only whites could get loans & move there. The feds dramatically subsidized building these suburbs (billions in roads, sewage, etc), so the buying cost for houses in suburbia was massively low relative to true cost. So the whites moved to the suburbs on the basis of good personal economics (via gov subsidy and cheap credit) and good marketing (suburb developers sold the dream).
The suburbs thus became politically powerful (white & somewhat wealthy now, bc of subsidized housing). Suburbs didn't want (and still don't) want to pay for city expenses, but since suburbs are generally part of the same municipality, they could use their political power to cripple inner city services. Which they did.
Then the urbanites (mostly not white, bc suburbs where racially zoned) gradually became destitute as businesses couldn't survive without adequate services. And with destitution we see the rise of homelessness, drugs, etc that you rightfully point out.
Seems like it's high time to recognize the calamitous mistake and fix it