I just went to what I considered a clear counterexample, though it does have problems that it is rare (though local coffee shops and bakeries, for example, fairly regularly will provide things for free to those in need within the store exactly like they would for regular customers).
Is it wrong for universities to provide financial aid to those in need?
Would it be wrong for a city to provide subsidized public transportation? subsidized school lunches?
You can come up with other harder to decide examples. A really good one would be whether it's wrong to charge tourists and locals different amounts. On the one side, this feels unfair to the tourists, why should they have to pay more? Generally, I lean to unfair things being wrong. But, the consequences of charging them the same are, to me, much worse, especially as the means of the two become further and further apart.