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
Laws are not written for fools.
Get your sleigh ready in summer and your (horse-drawn) cart in winter.
Where it is thin, it breaks.
Do not dig a hole for another one, you will fall into it yourself.
Bitter truth is better than sweet lies.
To live a life is not the same (not as easy) as to go through a field.
Being a guest is good, but being at home is better.
The demon is not as scary as he is depicted.