serve someone right

US /sɜrv ˈsʌm.wʌn raɪt/
UK /sɜrv ˈsʌm.wʌn raɪt/
"serve someone right" picture
1.

to be a deserved punishment or misfortune for someone

:
It would serve him right if he lost his job after how he treated his colleagues.
You left your umbrella at home? Well, that will serve you right for not checking the weather.