यः शास्त्रविधिमुत्सृज्य वर्तते कामकारतः।
न स सिद्धिमवाप्नोति न सुखं न परां गतिम्॥23॥
yaḥ śāstravidhim utsṛjya vartate kāmakārataḥ na sa siddhim avāpnoti na sukhaṃ na parāṃ gatim
One who casts aside the rule of scripture and acts as his desire prompts attains neither perfection, nor happiness, nor the highest goal.
To stay clear of desire, anger and greed a person needs some standard, and here that standard is said to be scripture. One who goes only by 'my mind says so' often takes his own wish to be dharma, the right way. Scripture here is like the tested experience of the sages, which protects us from our own whims.
yah: who; shastravidhim: the rule of scripture; utsrijya: casting aside; vartate: acts; kamakaratah: as his desire prompts; na: not; sah: he; siddhim: perfection; avapnoti: attains; na: nor; sukham: happiness; na: nor; param: the highest; gatim: goal

