Valmiki Ramayana Ayodhya Kanda Sarga 1 Shloka 16
Original Shlokaकुलोचितमतिः क्षात्रं धर्मं स्वं बहुमन्यते। मन्यते परया कीर्त्या महत्स्वर्गफलं ततः।।2.1.16।।
1 source checked for this shloka
कुलोचितमतिः having thoughts befitting his dynasty, स्वम् his own, क्षात्रं धर्मम् code of conduct relating to kshatriyas, बहुमन्यते honours, ततः from that, कीर्त्या with glory, महत् great, स्वर्गफलम् fruits of heaven, मन्यते considers.
He entertained thoughts befitting his (great) dynasty and honoured the code of conduct of a kshatriya. He believed one could attain heavenly abode through his great achievements.