Keywords: serve you right
1. Used alone to mean that you feel that what has happened to your addressee was deserved (maybe they had acted in a silly or careless way), and that you hope the experience will serve them as a lesson in the future.
2. English = 'How silly of you!', 'Let that be a lesson', 'Serves you right!'