pay the piper

📖 general
Meaning
to face the consequences of one's actions, especially in a negative way.
Literal Meaning
to pay a musician for their services, often implying a heavy cost.
Example
“He thought he could get away with cheating, but he will have to pay the piper sooner or later.”