Śrīmad-Bhāgavatam · Text 4.23.32
Who is speaking and story frame
ब्राह्मणो ब्रह्मवर्चस्वी राजन्यो जगतीपति: ।
वैश्य: पठन् विट्पति: स्याच्छूद्र: सत्तमतामियात् ॥ ३२ ॥
brāhmaṇo brahma-varcasvī
rājanyo jagatī-patiḥ
vaiśyaḥ paṭhan viṭ-patiḥ syāc
chūdraḥ sattamatām iyāt
If one hears of the characteristics of Pṛthu Mahārāja and is a brāhmaṇa, he becomes perfectly qualified with brahminical powers; if he is a kṣatriya, he becomes a king of the world; if he is a vaiśya, he becomes a master of other vaiśyas and many animals; and if he is a śūdra, he becomes the topmost devotee.
Read Śrīla Prabhupāda's purport on Vedabase.io