The New Dictionary of Cultural Literacy, Third Edition. 2002. "He who laughs last, laughs best"

Which means:
"You may laugh now, thinking you have won, but you may not prevail in the end." 1