Śrīmad-Bhāgavatam · Text 1.13.14
Who is speaking and story frame
कञ्चित्कालमथावात्सीत्सत्कृतो देववत्सुखम् ।
भ्रातुर्ज्येष्ठस्य श्रेयस्कृत्सर्वेषां सुखमावहन् ॥ १४ ॥
kañcit kālam athāvātsīt
sat-kṛto devavat sukham
bhrātur jyeṣṭhasya śreyas-kṛt
sarveṣāṁ sukham āvahan
Thus Mahātmā Vidura, being treated just like a godly person by his kinsmen, remained there for a certain period just to rectify the mentality of his eldest brother and in this way bring happiness to all the others.
Read Śrīla Prabhupāda's purport on Vedabase.io