Numerous years ago (about 15-20), SF decided to “solve” their homeless crisis by giving them an allotment of money every month.
It was obvious to anyone with a lick of sense that this would cause a HUGE influx of homeless to get over to SF for the free money. Sure enough, every homeless, drug addict, and grifter within a 300 mile radius made haste to get to SF for the free money. When the city became overwhelmed, they reversed course and stopped the policy. But they stayed.
So I guess that it is that hard for them to figure it out.