Śrīmad-Bhāgavatam · Text 5.4.16
Who is speaking and story frame
यद्यपि स्वविदितं सकलधर्मं ब्राह्मं गुह्यं ब्राह्मणैर्दर्शितमार्गेण सामादिभिरुपायैर्जनतामनुशशास ॥ १६ ॥
yadyapi sva-viditaṁ sakala-dharmaṁ brāhmaṁ guhyaṁ brāhmaṇair darśita-mārgeṇa sāmādibhir upāyair janatām anuśaśāsa.
Although Lord Ṛṣabhadeva knew everything about confidential Vedic knowledge, which includes information about all types of occupational duties, He still maintained Himself as a kṣatriya and followed the instructions of the brāhmaṇas as they related to mind control, sense control, tolerance and so forth. Thus He ruled the people according to the system of varṇāśrama-dharma, which enjoins that the brāhmaṇas instruct the kṣatriyas and the kṣatriyas administer to the state through the vaiśyas and śūdras.
Read Śrīla Prabhupāda's purport on Vedabase.io