Knowing that somebody cares is important to the homeless.
They have worth, they matter.
You can show your compassion financially by giving money or by taking your old belongings to a charity shop.
Giving money to beggars is not such a good thing; charities are better.
They will use the money constructively.