cautionary

ˈkɔːʃ(ə)n(ə)ri

adjective

serving as a warning.

a cautionary tale