cine râde la urmă, râde mai bine

Etymology
lit. 'he who laughs at the end, laughs better'.

Proverb

 * 1) he who laughs last laughs best