Which of the following best describes a short text that reveals a moral or lesson and serves as a warning?

A fable or parable would best describe a short text that reveals a moral or lesson and serves as a warning.