The grapes are sour

People who cannot get what they want are inclined to pretend that they never wanted it, in order to save face. This comes from the fable of the fox that tried hard to reach a bunch of grapes, but failed. He then said they were certainly unripe, so that he was able to go away satisfied.