Good is relative

I did a 21K trail run on a certain amount of time. I finished the trail in pain but under the time I had planned to. I was, nevertheless, unhappy because I felt I could have done better. I lost time by taking a wrong way and used energy to climb, and the end I had cramps. With this negative perception, I felt that my performance was not good enough.