Yōga Sūtras
Yōga Sūtra 2.02
समाधिभावनार्थः क्लेशतनूकरणार्थश्च।
samādhibhāvanārthaḥ klēśatanūkaraṇārthaśca।
[समाधि भावनार्थः क्लेश तनू करणार्थः च।
samādhi = samādhi; bhāvanārthaḥ = the attitude conducive to; klēśa = obstacles; tanū = for weakening; karaṇārthaḥ = the cause of; ca = and;]
This is to bring the attitude conducive to Samādhi and for weakening the causes of obstacles.
Any practice consists of steps to enhance the attainment of goal and also steps to weaken or destroy the causes that may pose obstacles. Both are suggested.