引以为戒

yǐn yǐ wéi jiè

Definitions

  • to take sth as a warning (idiom)
  • to draw a lesson from a case where things turned out badly