Valmiki Ramayana Bala Kanda Sarga 42 Shloka 5
Original Shlokaदिलीपस्तु महातेजाश्श्रुत्वा पैतामहं वधम्। दु:खोपहतया बुद्ध्या निश्चयं नाध्यगच्छत।।1.42.5।।
1 source checked for this shloka
महातेजा: exceedingly lustrous, दिलीपस्तु Dilipa on his part, पैतामहम् relating to his grandfathers, वधम् killing, श्रुत्वा having heard, दु:खोपहतया overtaken by grief, बुद्ध्या with his intellect, निश्चयम् conclusion, नाध्यगच्छत did not arrive at.
When exceedingly brilliant Dilipa heard about the death of his grandfathers, he was overtaken by grief but could not arrive at any conclusion with his intellect (regarding means of bringing down the sacred river).