He who laughs last, laughs best

1. Describes a feeling of satisfaction that occurs when others realize that you have won or succeeded after thinking that they had defeated you or that you had failed.