Valmiki Ramayana Ayodhya Kanda Sarga 72 Shloka 25
Original Shlokaदानयज्ञाधिकारा हि शीलश्रुतिवचोऽनुगा। बुद्धिस्ते बुद्धिसम्पन्न प्रभेवार्कस्य मन्दिरे।।2.72.25।।
1 source checked for this shloka
बुद्धिसम्पन्न intelligent, ते your, बुद्धिः wisdom, शीलश्रुतिवचोनुगा ever following virtuous conduct and scriptures, दानयज्ञाधिकारा entitled to dispense charity and perform sacrifices, अर्कस्य Sun's, मन्दिरे in the house, प्रभेव like light, (will always shine).
O highly intelligent one, by your wisdom, virtuous conduct and scriptural knowledge you are entitled to dispense charity and perform sacrifices. You will always shine incessantly like light of the Sun.