All is not lost that is in peril. meaning

HOME PROVERBS

hope

All is not lost that is in peril.

means that:
There is still hope, that a danger situation will end favorably or successfully.