all's well that ends well
Everything has turned out satisfactorily, even though the outcome has been uncertain. For example, His lawyer persuaded Jack to plead guilty, but the court merely put him on probationall's well that ends well. This proverb, dating from about 1250, gained even more currency as the title of a Shakespeare comedy.
Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.