have the last laugh
have the last laugh or get the last laugh {v. phr.}
To make someone seem foolish for having laughed at you.
Other schools laughed at us when our little team entered the state championship, but we had the last laugh when we won it.
Categories:
Source: A Dictionary of American Idioms