Well yes, because “sweeps” are intended punish and criminalize being homeless, not actually doing anything to fix it.
Step 1 is the seizure of property (which questionably constitutional)
Step 2 is to not provide them anywhere to actually live
Step 3 is to arrest them when they break the law now that they have no shelter at all, and so inevitably break some law.
Then the private prison owners get money from the government, and in a bunch of states you get slaves. Win-win for everyone who apparently matters.