It wasn't such a bad thing to do, in fact I see it as an act of kindness. You gave it without expectations or conditions, he accepted gratefully without wanting more.
There were times when I felt a "need" to be kind and to this day I see nothing wrong with that. Kindness is simply doing something nice that we would probably do for anyone, and it makes us feel good to do it.
Get some rest, kind people need rest too.
Hugs