all is well ends well?
Definition of all's well that ends well —used to say that a person can forget about how unpleasant or difficult something was because everything ended in a good wayWe almost didn't make it here, but all's well that ends well.