Just because someone says something to you that is discouraging you should never allow this to cause you to give up. Comments can be very destructive at times, and when someone says something negative this can cause you to feel like a failure or make you want to just give up, but this is the wrong move to make. Instead of viewing the comment as a put down why not use it as motivation, giving you the reason needed to push even harder and show the person making the comment what you are truly capable of. Some people have a negative outlook on life, and they seem incapable of being positive or seeing the true potential that others have. If you simply give up then you will never realize your dreams or reach your goals, all because someone had something negative to say.
If someone is critical of something that you do consider the reason for this. Is the person offering constructive criticism in order to help you or are they just being negative? In either case the solution is to work harder to accomplish what you are trying to do, not giving up. Quitters never win in life, but those who persevere against even the greatest odds and push harder show the true capability of the human spirit. Through history mankind has shown determination when all seems lost, and giving up is never an option as long as you can continue. View failure as an opportunity to do better next time, not a reason to quit, and accept negative comments as a motivator to excel. If you take the easy way out and give up then you will never know what you may be capable of.