Srimad Bhagavatam Canto 06, Chapter 12, Text 14

SB 6.12.14

tasmad akirti-yasasor
 jayapajayayor api
samah syat sukha-duhkhabhyam
 mrtyu-jivitayos tatha
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Since everything is dependent on the supreme will of the Personality of Godhead, one should be equipoised in fame and defamation, victory and defeat, life and death. In their effects, represented as happiness and distress, one should maintain oneself in equilibrium, without anxiety.
Srimad Bhagavatam Canto 06, Chapter 12, Text 13
Srimad Bhagavatam Canto 06, Chapter 12, Text 15