Apparently I have misunderstood this expression for the last 6o years. I always thought it represented the unobtainable goal. The carrot at the end of the stick always being just out of reach of the donkey. But lately I hear people using it as an analogy for reward or punishment. Where does this expression come from? And which analogy does it represent?