Valmiki Ramayana Sundara Kanda Sarga 2 Shloka 40
Original Shlokaअर्थानर्थान्तरे बुद्धिर्निश्चितापि न शोभते। घातयन्ति हि कार्याणि दूताः पण्डितमानिनः।।5.2.40।।
1 source checked for this shloka
निश्चिता अपि even though decided, बुद्धि: intelligent, अर्थानर्थान्तरे between a proper course of action and inaction, न शोभते not look nice, पण्डितमानिनः clever and capable, दूताः messengers, कार्याणि efforts, घातयन्ति हि will spoil.
'Even though messengers are not intelligent, they think themselves clever and capable. They act foolishly, swerve from proper course of action and fail in their effort.