Valmiki Ramayana Ayodhya Kanda Sarga 105 Shloka 38
Original Shlokaतं तु नैवंविधः कश्चित्प्राज्ञ श्शोचितुमर्हति। तत्विधो मद्विधश्चापि श्रुतवान्बुद्धिमत्तरः।।2.105.38।।
1 source checked for this shloka
श्रुतवान् proficient in scriptural knowledge, बुद्धिमत्तरः highly sagacious, एवंविधः like this, प्राज्ञः learned man, कश्चित् none, तत्विध: like you, मद्विधश्चापि like me, तम् about him, शोचितुम् to mourn, नार्हति not proper.
No one like you or me should ever mourn about this highly sagacious and learned king who was proficient in scriptural knowledge.