B.G 3.20
कर्मणैव हि संसिद्धिमास्थिता जनकादयः। लोकसङ्ग्रहमेवापि सम्पश्यन् कर्तुमर्हसि ॥२०॥
Indeed, King Janaka and others could attain perfection and be in that state by performing prescribed duties alone. You are only eligible to perform your duties, having an eye towards the welfare of the world.
Gīta Tātparya 3.20
Sincerity towards attainment of knowledge is to perform activities as per the prescribed duties based on one's role in the society and phase of life. The ignorant must perform prescribed duties to gain knowledge. The knowledgeable must perform the prescribed duties for the welfare of the world.
सहैव कर्मणा सिद्धिमास्थिता जनकादयः। ज्ञाननिष्ठा अपि ततः कार्यं वर्णाश्रमोचितम्॥ इति च।
King Janaka and others attained perfection by performing their respective duties. Therefore, sincerity towards attainment of knowledge is to perform activities as per the prescribed duties based on one's role in the society and phase of life (varna and ashrama). The testimonial also states the same:
अज्ञानां ज्ञानदं कर्म ज्ञानिनां लोकसङ्ग्रहात्। अद्धैव तुष्टिदं मह्यं सा मुक्तानन्दपूर्तिदा ॥२०॥
"For the ignorant prescribed duties result in knowledge. For the knowledgeable, it promotes the welfare of the world. It is the giver of liberation, joy, and fulfillment and is immensely satisfying to me."