Authorities told to tackle housing problems, not attack homeless