5.5.14
पूर्वं राघव शास्त्रेण वैराग्येण परेण च ।तथा सज्जनसङ्गेन नीयतां पुण्यतां मनः॥
First, Raghava, let the mind be led toward purity by sound teaching, by deep dispassion, and by the company of good people.
Checked against a printed edition
Base print, Nirnaya Sagar 1937 (archive.org dli.ernet.383737), printed p. 559, leaf n569, read from the page image on 2026-11-29, same number. Sanskrit Wikisource, सर्गः ०५ (rev. 114356): agrees. Meaning compared with Vihari Lala Mitra, vol. 2 (archive.org dli.bengal.10689.7196), p. 711, Book 5, chapter 5, verse 14. Vasistha answering Rama's question on how to guard the mind. Mitra reads it the same way. Second read (2026-11-29): a separate reader transcribed the page image blind, without our text, and agrees letter for letter.
See the printed page (Internet Archive)