Srimad Bhagavatam Canto 10, Chapter 47, Text 07

SB 10.47.7

nihsvam tyajanti ganika
 akalpam nrpatim prajah
adhita-vidya acaryam
 rtvijo datta-daksinam
 
Translation: 
 
Prostitutes abandon a penniless man, subjects an incompetent king, students their teacher once they have finished their education, and priests a man who has remunerated them for a sacrifice.
Srimad Bhagavatam Canto 10, Chapter 47, Text 06
Srimad Bhagavatam Canto 10, Chapter 47, Text 08