idiom
learn your lesson
从不愉快的经历中吸取教训,以避免重复
Meaning
to learn from an unpleasant experience so as not to repeat it
Example
After being late several times, he finally **learned his lesson**.
在多次迟到后,他终于**吸取了教训**。