痛い目にあう

learn a hard lesson

→ 痛い
phrase Rare #39,955
learn a hard lesson An idiomatic expression meaning to suffer unpleasant consequences or get into trouble, often used as a warning. Literally, it means to have a painful experience.
JA: そんな無茶をすると、いつか痛い目にあうよ。
EN: If you keep taking such risks, you'll learn a hard lesson someday.

欲張りすぎるあとで痛い目にあうよね

If you get too greedy, you'll regret it later.

このことで彼は痛い目にあうだろう

He’ll learn the hard way because of this.

勝手にこっち側来る痛い目にあう

If you come over to this side without permission, you’ll regret it.

— アメリカン・ギャングスター (2007)

もう一度やったら痛い目にあうからな

If you do that again, you'll regret it.