Valmiki Ramayana Aranya Kanda Sarga 66 Shloka 16
Original Shlokaअदृष्टगुणदोषाणामध्रुवाणां तु कर्मणाम्। नान्तरेण क्रियां तेषां फलमिष्टं प्रवर्तते।।3.66.16।।
1 source checked for this shloka
अदृष्टगुणदोषाणाम् of those who do not know their merits and demerits, अध्रुवाणाम् unstable, तेषाम् in this, कर्मणाम् deeds, इष्टम् good, फलम् results, क्रियाम् अन्तरेण from actions, न प्रवर्तते will not be obtained.
Good results are not expected from the actions of persons who cannot distinguish between their virtues and vices, from those who are unstable in their deeds.