All’s well that ends well

1. Even though something did not go well, it is ok if it ended well.