Bhagavad Gita 7.16

चतुर्विधा भजन्ते मां जनाः सुकृतिनोऽर्जुन।आर्तो जिज्ञासुरर्थार्थी ज्ञानी च भरतर्षभ ॥७.१६॥

caturvidhā bhajante māṃ janāḥ sukṛtino’rjunaārto jijñāsurarthārthī jñānī ca bharatarṣabha

Four kinds of virtuous men worship Me, O Arjuna, and they are the distressed, the seekers of knowledge, the seekers of wealth, and the wise, O Lord of the Bharatas.

गीता