follow in someone's footsteps vs follow the example of

follow in someone's footsteps

verb
  • To follow the same path as someone; to take actions similar to another's. 

follow the example of

How often have the words follow in someone's footsteps and follow the example of occurred in a corpus of books? (source: Google Ngram Viewer )