Sour Grapes

Things despised because they are beyond our reach. Many men of
low degree call titles and dignities “sour grapes;” and men of no parts
turn up their noses at literary honours. The phrase is from Æsop's
fable called The Fox and the Grapes.