Example of the above:
In the lead up to the Rohingya genocide in Myanmar, the government published a formal list of every recognized ethnic group in the country to specifically exclude the Rohingya. This allowed them to paint the group as “illegal immigrants from Bangladesh” (despite having been in the country for centuries), remove their citizenship and thus their rights to education and work.
Link about the 1982 citizenship law: https://burmacampaign.org.uk/media/Myanmar’s-1982-Citizenship-Law-and-Rohingya.pdf
Putting my NIMBY hat on as well to add. There’s another component that if people realize they can get their groceries for free at their local store, why would they go to the side that asks you to pay? Obviously this would be a net positive as more people in need will have access, but there will be some not-in-need who will take advantage. Grocery stores tend to have thin margins, so this may make a formerly profitable store unprofitable, which may reduce quality or shutter stores.