Valmiki Ramayana Kishkindha Kanda Sarga 38 Shloka 22
Original Shlokaअमित्राणां वधे युक्तो मित्राणां सङ्ग्रहे रतः।।4.38.22।। त्रिवर्गफलभोक्ता तु राजा धर्मेण युज्यते।
1 source checked for this shloka
अमित्राणाम् of enemies, वधे in slaying, युक्तः right, मित्राणाम् of friends, सङ्ग्रहे in the acqusition of, रतः is engaged, राजा that king, धर्मेण with righteousness, युज्यते is associated, त्रिवर्गफलभोक्ता च enjoys the fruits of all the three (dharma, artha and kama) goals of life.