purpose vs wish

purpose

verb
  • To have (an) intention, purpose, or design; to intend; to mean. 

  • To have or set as one's purpose or aim; resolve to accomplish; intend; plan. 

noun
  • meaning for existing or doing something. 

  • Resolution; determination. 

  • Function, role. 

  • The end for which something is done, is made or exists. 

wish

verb
  • To desire; to want. 

  • To hope (for a particular outcome), even if that outcome is unlikely to occur or cannot occur. 

  • To recommend; to seek confidence or favour on behalf of. 

  • I wish I could go back in time and teach myself what I know now. 

  • To bestow (a thought or gesture) towards (someone or something). 

  • To request or desire to do an activity. 

noun
  • The thing desired or longed for. 

  • An expression of such a desire, often connected with ideas of magic and supernatural power. 

  • A desire, hope, or longing for something or for something to happen. 

  • A water meadow. 

How often have the words purpose and wish occurred in a corpus of books? (source: Google Ngram Viewer )