Actually, Tom’s shoes is a company that donates a pair of shoes to a needy child for each pair they sell...so when he says you can do good by doing well, he means that he’s been so successful in his business that he can do good by donating shoes to underprivileged kids...at least that’s the way I interpreted it!
........he can do good by donating shoes to underprivileged kids.....
A cynic would say he overcharges the rich and gives cheap indian or Bangladeshi shoes to the poor