Japanese phrase
終わりよければすべてよしです。 o wa ri yo ke re ba su be te yo shi de su
Meaning
All's well that ends well.
When to use it
Says that a good outcome makes earlier troubles acceptable. It often closes a discussion about setbacks with a positive, reassuring tone.
Example dialogue
途中は大変でしたね。 to chū wa tai hen de shi ta ne
The process was tough.
終わりよければすべてよしです。 o wa ri yo ke re ba su be te yo shi de su
All's well that ends well.