Yōga Sūtras
Yōga Sūtra 2.02
समाधिभावनार्थः क्लेशतनूकरणार्थश्च।
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.