Instead of spending so much energy trying to 'get rid of' or remove the sight of poor people or the homeless ... which is what these regulations are trying to do.
Why not spend more energy trying to make a more equitable society so that you don't have as many poor people around.
It's economics ... either spend money now directly helping people so that they don't become poor or destitute.
Or spend lots of money later in policing, judicial, legal, political, social, medical and security services to try to deal with the poor and in trying to get rid of a problem that you created.
There has been many studies in the past that dealt with this issue ... it's cheaper to just directly help people now rather than in trying to hide the problem (which never works anyway)