Valmiki Ramayana Yuddha Kanda Sarga 113 Shloka 23
Original Shlokaन कामकारःकामंवातवराक्षसपुङ्गव । दैवंचेष्टयतेसर्वंहतंदैवेनहन्यते ।।6.113.23।।
1 source checked for this shloka
राक्षसपुङ्गवः foremost of Rakshasas, कामम् desire, तव of yours, कामकारः acting to your will, न वा by you, सर्वम् all, दैवम् divine, चेष्टयते makes you do, देवेन by divine, हतम् killed, हन्यते kills
"O Foremost of Rakshasas! You have acted according to your desire alone is not sufficient as divine will make you do everything. He is killed whom destiny kills."