Dictionary / Vocabulary / ざまあ見ろ
ざまあみろ
it serves you right
Also written 様あ見ろ
ざまあ見ろ。
That serves you right.