Fable
If a person says "sour grapes!" then they are referring to "The Fox and the Grapes". This fable is about a fox who saw a beautiful bunch of grapes hanging on a vine. He wanted to eat them but they were high up. He tried and tried to jump high enough to pull them down. When he was too tired to jump anymore, he went away saying "I'll bet those grapes were sour!"