Śrīmad-Bhāgavatam · Text 4.22.45
Who is speaking and story frame
सैनापत्यं च राज्यं च दण्डनेतृत्वमेव च ।
सर्व लोकाधिपत्यं च वेदशास्त्रविदर्हति ॥ ४५ ॥
sainā-patyaṁ ca rājyaṁ ca
daṇḍa-netṛtvam eva ca
sarva lokādhipatyaṁ ca
veda-śāstra-vid arhati
Since only a person who is completely educated according to the principles of Vedic knowledge deserves to be commander-in-chief, ruler of the state, the first to chastise or the proprietor of the whole planet, Pṛthu Mahārāja offered everything to the Kumāras.
Read Śrīla Prabhupāda's purport on Vedabase.io