Know when to keep going and where to stop
You have to draw a line between desperation and determination. Determination is the point at which your aspired to get something. This is a healthy way to achieve any goal. When you now get so determined to get something at any means necessary that includes even laying your self respect it is now called desperation.