An exclamation meaning “serves you right” or “that's what you get,” used to gloat when someone suffers a setback. It’s rude and mocking.
彼はずっと人を馬鹿にしていた。転んだとき、私は心の中で『ざまあみろ』と思った。
He had been making fun of others the whole time. When he fell, I thought 'serves you right' to myself.
試合で相手チームがルール違反をして失格になった。観客席から『ざまあみろ!』という声が上がった。
The opposing team was disqualified for breaking the rules. From the stands someone shouted, 'Serves you right!'