have the last laugh

have the last laugh (succeed in the end, after some earlier reverses, after people have criticised or defeated you earlier) — смеяться последним (т. е. в конце концов победить, добиться успеха или оказаться в выигрышном положении)

Example 1: You may think you're right, but I'll have the last laugh.

Example 2: We'll have the last laugh when they learn we got the contract. (AmH)

Example 3: United lost the previous match to City 1—0, but they had the last laugh by beating them 3—0 in the final. (CE)

This expression, alluding to laughing at the loser, appeared in slightly different form in the mid-1500s and gave rise to the modern proverbial phrase [he laughs best who laughs last] (AmHeritage)