salutary - definition and synonyms

adjective formal 

Your browser doesn’t support HTML5 audio

/ˈsæljʊt(ə)ri/
  1. a salutary experience or warning is one that has a good effect although it is unpleasant

    It was a salutary lesson to see the whole team so easily defeated.