sutra 2.33 Vitarka Badhane Pratipaksa Bhavanam
Pantanjali may have agreed with Julia Cameron. This sutra from the Yoga Sutras of Pantajali says when things are going badly, examine the situation and examine and apply the opposite, kind of like affirmations. We all get off track. Get yourself back on track.