Life is never meant to be easy. There are many loopholes in it. There are many episodes in life which are very beautiful. But, there are many incidents where you might feel downcast and you might want to give up. Everyone has a time when we might want to give up just because we are not successful.
Giving up never really helps. It only makes you weak. If something does not work out well, then, you always have a second chance. Even scientists are not successful in one go. They just keep on working hard until and unless they are not victorious in the end. We already know that great things take time to happen. So, just need to work hard and keep trying every day and you yourself will see the results.