person A: I felt very bad when my boss did not approve of my work. It just makes me more motivated to work harder.
person B: Did you spend a lot of the time on the project?
person A: Yes_comma_ I feel like I worked really hard and I put in so many hours. I guess it was not good enough. :(
person B: I wouldnt get discouraged.  Maybe talk to your boss and see what you can improve on next time.  I'm sure_comma_ at least if you have a good boss_comma_ they will want you to succeed and guide you in how to do better.
person A: Thank you for your great advice my friend!