expression
all's well that ends well
Proverb meaning that a good outcome makes up for earlier difficulties.
色々あったけど、終わりよければすべてよしだね。
A lot happened, but all's well that ends well, right?
Japanese proverb calqued from the English saying 'all's well that ends well', which is also the title of a Shakespeare play.