Where it comes from
In The Problems of Philosophy, Bertrand Russell describes a chicken fed by the same man every day of its life, which grows more and more confident that tomorrow will be the same. Then one morning the man comes for the chicken instead.