Theodore Roosevelt said this quote

When you're at the end of your rope, tie a knot and hold on.