Srimad Bhagavatam Canto 10, Chapter 05, Text 30

SB 10.5.30

nunam hy adrsta-nistho ’yam
adrsta-paramo janah
adrstam atmanas tattvam
yo veda na sa muhyati
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Every man is certainly controlled by destiny, which determines the results of one’s fruitive activities. In other words, one has a son or daughter because of unseen destiny, and when the son or daughter is no longer present, this also is due to unseen destiny. Destiny is the ultimate controller of everyone. One who knows this is never bewildered.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Nanda Maharaja consoled his younger brother Vasudeva by saying that destiny is ultimately responsible for everything. Vasudeva should not be unhappy that his many children had been killed by Kamsa or that the last child, the daughter, had gone to the heavenly planets.
Srimad Bhagavatam Canto 10, Chapter 05, Text 29
Srimad Bhagavatam Canto 10, Chapter 05, Text 31