cautionary

adjective
UK /ˈkɔːʃənəri/
US /ˈkɔːʃəneri/

A cautionary story or warning tells you to be careful so you don't get hurt.

The teacher told a cautionary tale about a boy who never did his homework.


OTHER MEANINGS

2. Serving as a warning to others about what might happen.

The sign was a cautionary reminder to slow down on the icy road.

3. Intended to teach people to avoid mistakes by showing bad examples.

The movie is a cautionary story about spending too much money.

4. Giving advice to be careful about something.

She gave a cautionary note about the slippery steps.