Yoga Sutras of Patanjali 2.29 - 2.32

Yoga Sutra 2.33 - vitarka badhane pratipraksa bhavanam ||33||

वितर्कबाधने प्रतिप्रक्षभावनम् ॥३३॥

Principles which run contrary to the Yamas (moral commandments) and Niyamas (personal disciplines) should be countered with discrimination.