ابحث
to learn one's lesson
01
to gain knowledge after experiencing something painful or disastrous
مثال
After his reckless driving caused an accident, he finally learned his lesson about the importance of safe driving.
I certainly learned my lesson about buying something from a stranger online.
I hope you've learned your lesson.