The context of the following conversation is Jan had worked very hard but despite her best effort she only came in second place.:
Jan says I should have won.
The friend responds 2nd is not bad at all you did great.
Jan responds I've been training for months!.
The friend responds Next time, you did great for your first competition.
Jan responds I could have done better.
The friend responds Don't be so hard on yourself.