that will teach you (to do something) - definition and synonyms

phrase spoken
  1. used for telling someone that they should have been more careful or should have paid attention to your advice

    That’ll teach you to lend her money.

See also main entry: teach