終わりよければすべてよし (おわりよければすべてよし): all's well that ends well; it will all come good in the end

all's well that ends well; it will all come good in the end

A rough middle is forgiven if the ending lands. Said in relief, once it has.