sarva-bhūtātma-dṛk sākṣāt
tasyāgamana-kāraṇam
vijńāyācintayan nāyaḿ
śrī-kāmo mābhajat purā
patnyāḥ pati-vratāyās tu
sakhā priya-cikīrṣayā
prāpto mām asya dāsyāmi
sampado 'martya-durlabhāḥ
sarva -- of all; bhuta -- living beings; atma -- of the hearts; drik -- the witness; sakshat -- direct; tasya -- his (Sudama's); agamana -- for the coming; karanam -- the reason; vijnaya -- understanding fully; acintayat -- He thought; na -- not; ayam -- he; sri -- of opulence; kamah -- desirous; ma -- Me; abhajat -- worshiped; pura -- in the past; patnyah -- of his wife; pati -- to her husband; vratayah -- chastely devoted; tu -- however; sakha -- My friend; priya -- the satisfaction; cikirshaya -- with the desire of securing; praptah -- now come; mam -- to Me; asya -- to him; dasyami -- I will give; sampadah -- riches; amartya -- by the demigods; durlabhah -- unobtainable.
Srila Visvanatha Cakravarti comments that the Lord momentarily wondered, "How has it come about, despite My omniscience, that this devotee of Mine has fallen into such poverty?" Then, quickly understanding the situation, He spoke to Himself the words related in this verse.
But someone may point out that Sudama should not have been so poverty-stricken, since appropriate enjoyment comes as a by-product of service to God even for a devotee who has no ulterior motives. This is confirmed in Bhagavad-gita (9.22):
ananyas cintayanto mam
ye janah paryupasate
tesham nityabhiyuktanam
yoga-kshemam vahamy aham
"But those who always worship Me with exclusive devotion, meditating on My transcendental form -- to them I carry what they lack, and I preserve what they have."
In response to this point, a distinction must be made between two kinds of renounced devotees: one kind is inimical to sense gratification, and the other is indifferent to it. The Supreme Lord does not force sense gratification upon the devotee who is extremely averse to worldly enjoyments. This is seen among such great renouncers as Jada Bharata. On the other hand, the Lord may give limitless wealth and power to a devotee who is neither repelled nor attracted by material things, such as Prahlada Maharaja. Up to this point in his life, Sudama Brahmana was totally averse to sense gratification, but now, out of compassion for his faithful wife -- and also because he hankered to have Krishna's audience -- he went to beg from the Lord.