all's well that ends well; it turned out okay in the end
A casual set phrase used when the final result is good despite earlier problems or mistakes. Often said with a sense of relief.
See also: オーライ
We got lost, but it turned out all right in the end—we found a fun place.
The exam was tough, but I passed, so all's well that ends well.