Valmiki Ramayana Yuddha Kanda Sarga 12 Shloka 31
Original Shlokaअनुपायेनकर्माणिविपरीतानियानिच । क्रियमाणानिदुष्यन्तिहवींष्यप्रयतेष्विव ।।6.12.31।।
1 source checked for this shloka
अनुपायेन: without proper plan, क्रियमाणानि: tasks carried out, विपरीतानि: contrary to the principle, कर्माणि: tasks, अप्रयते: not auspicious, हवींषीव: like anything fit for oblation, दुष्यन्ति: spoilt.
"Tasks carried out without proper plan and contrary to the right principles are spoilt like inauspicious oblations offered into sacrificial fire."