好い気味 (iikimi: serves one right; what one deserves)
to like + sensation (last 2 chars.)
私が失敗したとき、彼は「好い気味だ」と言った。
Watashi ga shippai shita toki, kare wa “iikimi da” to itta.
When I failed, he said, “It serves you right.”私 (watashi: I)
失敗 (shippai: failure) to lose + failure
言 (i(u): to say)