When you reach the end of your rope tie a knot in it and hang on
If you think that your life is ending, don’t just let it end; hold on.
This is saying that you should never give up. If you fail at something and think that you have come to an end, don’t give up.
Try to climb back up the rope.