How are you going to reason out this phrase "The end justifies the means" when it comes to giving. For example, you really desire to help but your means of helping those in need is ZERO as in nothing. So you rob someone of his money and give it to the one you are wishing to help with. The objective is good but we all know that stealing is wrong and is a sin. So what is your opinion on this please. Will you do the same or just won't do anything?
The end justify the means can also be compared to Karma. What ever you do to someone, comes back to you. Same with what goes around, comes around. Or on whatever you do, may it be for the goodness of another,