Ah fair enough, I misunderstood. I agree doing things for the sole reason of being virtuous doesn't make sense.
Although I do think the origin of "virtue" is because some things had good general effects, but nobody was able to explain why or how. Of course the concept has been abused since then.