the joke is on someone someone looks foolish, especially after trying to make someone else look so. informal
2011New York Times It's terrifying to realize that this kind of cynical careerism … has probably ensured that we won't do anything about climate change until catastrophe is already upon us. So on second thought, I was wrong when I said that the joke was on the G.O.P.; actually, the joke is on the human race.