the joke is on someone
US /ðə dʒoʊk ɪz ɑn ˈsʌmˌwʌn/
UK /ðə dʒoʊk ɪz ɑn ˈsʌmˌwʌn/

1.
de grap is op iemand, de grap is voor iemand
used to say that someone who has tried to make another person look silly has in fact been made to look silly themselves
:
•
He thought he was being clever by tricking me, but the joke is on him now that I've exposed his lies.
Hij dacht dat hij slim was door me te bedriegen, maar de grap is op hem nu ik zijn leugens heb ontmaskerd.
•
They tried to embarrass her with a prank, but when it backfired, the joke was on them.
Ze probeerden haar in verlegenheid te brengen met een grap, maar toen het mislukte, was de grap op hen.