Śrīmad-Bhāgavatam · Text 3.30.2
Who is speaking and story frame
यं यमर्थमुपादत्ते दु:खेन सुखहेतवे ।
तं तं धुनोति भगवान्पुमाञ्छोचति यत्कृते ॥ २ ॥
yaṁ yam artham upādatte
duḥkhena sukha-hetave
taṁ taṁ dhunoti bhagavān
pumāñ chocati yat-kṛte
Whatever is produced by the materialist with great pain and labor for so-called happiness, the Supreme Personality, as the time factor, destroys, and for this reason the conditioned soul laments.
Read Śrīla Prabhupāda's purport on Vedabase.io