A problem with this attitude is how schools and their grading systems are teaching children the exact opposite. What matters are your grades in the end.
I feel like judging myself by my results and not by the process im going through was so deeply ingrained in me that even after years of trying I cannot get rid of it.