Do you have friends who will speak good about you behind your back? Friends who will stand up for you and defend you in your absence? If you have such friends, you’re blessed. Nurture the friendship.
Don’t buy a homeless person food. Just give them the money if you have it. You think you mean well but what you’re doing is taking away their autonomy & ability to make choices for themselves.