What is the meaning of [Sour Grapes]

Spiteful disparagment of a goal one has failed to achieve