A consequentialist thinker views this action as a good deed because their able to give back to the less fortunate at the end of the day. Even with his initial intentions benefiting his finances, the consequentialists still believes it’s a good deed.
On the other hand, a non consequentialists would make the initial donation not considering his finances but rather giving back because some else needs it and he has the means to do so.
For this specific example I believe the consequentalist list theory makes