sour grapes vs take a swipe at

sour grapes

noun
  • A putting down or expression of disdain about something that one desires but cannot have. 

  • Things that somebody pretends to despise because they cannot obtain or have them. 

  • Grapes that are acid due to lacking maturity. 

take a swipe at

How often have the words sour grapes and take a swipe at occurred in a corpus of books? (source: Google Ngram Viewer )