comeuppance

kʌmˈʌp(ə)ns

noun

a punishment or fate that someone deserves.

he got his comeuppance in the end

just deserts,deserved fate,due,due reward,just punishment,retribution,requital,recompense