In order for an action to have moral worth, it must be done from the motive of duty.
Would Robin Hood be ethical, assuming that he has no other intent only acted out of the duty to help others, and not out of inclination that would give him any sense of gratification?