do a kindness vs do right by

do a kindness

do right by

verb
  • To treat, deal with, or act toward (someone) in a morally just, socially honorable fashion. 

How often have the words do a kindness and do right by occurred in a corpus of books? (source: Google Ngram Viewer )