Dear Abby: I’ve been friendly with a needy neighbor because I feel bad for him, but I have to end it

How can I end the friendship without sending him into a spiral?