Bad analogy. The homeless can see the reason I buy/give them food instead of dollars, they're not idiots. Also, as an assertive, sincere individual with communicative abilities, I tell them clearly why I am expressing my charity as I am.
An analogy has to explain the situation by including all or as many of the important variables as possible. Your analogy is bad, in my opinion, because it omits all the important variables.
Not to mention, the fact that I am the intentional author of all the homeless person's misery.