Valmiki Ramayana Ayodhya Kanda Sarga 109 Shloka 32
Original Shlokaतेनैवमाज्ञाय यथावदर्थमेकोदयं सम्प्रतिपद्य विप्राः। धर्मं चरन्त स्सकलं यथावत्काङ्क्षन्ति लोकागममप्रमत्ताः।।2.109.32।।
1 source checked for this shloka
तेन therefore, विप्राः brahmins, अर्थम् meaning, यथावत् rightly, आज्ञाय having understood, एकोदयम् the goal, सम्प्रतिपद्य having reached, सकलम् entire, धर्मम् righteousness, यथावत् duly, अप्रमत्ताः with utmost care, चरन्तः practising, लोकागमम् attainment of higher positions, काङ्क्षन्ति desire.
Therefore, brahmins who have rightly understood the meaning of righteousness and adopt, with unmost care, the righteous ways as laid down in the scriptures seek attainment of higher positions.