devote vs while away

devote

verb
  • to consign over; to doom 

  • to give one's time, focus one's efforts, commit oneself, etc. entirely for, on, or to a certain matter 

  • to execrate; to curse 

while away

verb
  • To elapse, to pass. 

  • To spend (time) idly but pleasantly 

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