Valmiki Ramayana Sundara Kanda Sarga 51 Shloka 28
Original Shlokaन तु धर्मोपसंहारमधर्मफलसंहितम्।।5.51.28।। तदेव फलमन्वेति धर्मश्चाधर्मनाशन:।
1 source checked for this shloka
धर्मोपसंहारम् exceeding rigteousness, अधर्मफलसंहितम् yields results of unrighteousness, न तु not, तत् that, फलमेव result itself, अन्वेति follows, धर्मश्च righteousness, अधर्मनाशनः will destroy unrighteousness.
"The fruit of dharma does not accrue to one who has reached the culmination of adharma. Unrighteousness will destroy the fruits of righteousness.