serve someone right idiom informal
(某人)罪有应得,(某人)活该
If you say that something bad serves someone right, you mean that that person deserves it.
"He hit me!" "It serves you right. You shouldn't have been so mean to him." “他打了我!”“活该。你不该对他那么不好。”