Meaning of the word "pay the price for" in English

What does "pay the price for" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

pay the price for

US /peɪ ðə praɪs fɔːr/
UK /peɪ ðə praɪs fɔː/

Idiom

to suffer the unpleasant consequences of an action or mistake

Example:
He had to pay the price for his reckless driving.
If you don't study, you'll pay the price for it during the exams.