Wiktionary
he who laughs last laughs best
alt. success is better after having previously endured ridicule. prov. success is better after having previously endured ridicule.