The morality of an action depends on the motive from which we act. If I fling half a crown to a beggar with intention to break his head and he picks it up and buy victuals with it, the physical effect is good. But with respect to me the action is very wrong