comeuppance
/kʌmˈuːpæns/Definitions
1. noun
retribution or punishment, especially for someone who has behaved in a way that is considered to be morally wrong or unjustifiable.
“After years of embezzling money from the company, he finally received his comeuppance when the police arrested him.”
2. noun
a reversal of fortune, especially a reversal from a state of prosperity to one of misfortune.
“The company’s comeuppance came when their competitors undercut their prices, forcing them to go out of business.”