serves you right (ざまあみろ): Serves you right for not studying. (勉強しなかったからざまあみろ)

Serves you right for not studying.