All’s well that ends well.

Sve je dobro što se dobro završi.

The groom was late for the wedding, but everything worked out all right. All’s well that ends well.