What is a moralizing example or a prop for an intellectual idea?

A brief story used to make a point in an argument or to illustrate a moral truth is called an exemplum.