learn your lesson
US /lɜrn jʊər ˈlɛsən/
UK /lɜrn jʊər ˈlɛsən/

1.
教訓を得る, 痛い目に遭う
to suffer a bad experience and understand from it not to do the same thing again
:
•
After losing all his money, he finally learned his lesson about gambling.
全財産を失った後、彼はついにギャンブルについて教訓を得た。
•
If you don't study, you'll fail the exam and learn your lesson the hard way.
勉強しなければ、試験に落ちて痛い目に遭うだろう。