Yōga Sūtras
Yōga Sūtra 2.02
samādhibhāvanārthaḥ klēśatanūkaraṇārthaśca।
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.