With accent marks:
Всё хорошо́, что хорошо́ конча́ется.
All is well that ends well.
The proverb comes from the a play by William Shakespeare with the same name.
With these words, we summarize some dangerous events or troubles that we managed to overcome without much loss.
Other Russian proverbs
A titmouse in hands is better than a crane in the sky.
They do not seek good from good.
The quieter you go, the further you'll get.
What goes around comes around.
Crowded, but not aggrieved.
Time for business, an hour for fun.
Live for a century, learn for a century, but die being a fool anyway.
The beauty of a debt is its payment