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

The best description for a short text that reveals a moral or lesson and serves as a warning would be a "parable."