Valmiki Ramayana Yuddha Kanda Sarga 83 Shloka 35
Original Shlokaयस्यार्थास्तस्यमित्राणियस्यार्थास्यस्यबान्धवाः । यस्यार्थास्सपुमान्लोकेयस्यार्थाः स च पण्डितः ।।6.83.35।।
1 source checked for this shloka
यस्य his, अर्थाः wealth, तस्य his, मित्राणि friends, यस्य whom, अर्थाः wealth, तस्य whom, बान्धवाः relations, यस्य whose, अर्थाः wealth, सः he, लोके in this world, पुमान् manliness, यस्य his, अर्थाः wealth, सः he, पण्डितः च learned
"Friends gather round him in whom riches abide. Relations stand by him who has wealth. He is considered manly in whom wealth abides, and he is learned who has wealth."