Yoga Sūtra Chapter Two verse 8

दुःखानुशयी द्वेषः ॥८॥

duḥkha-anuśayī dveṣaḥ ||8||

Aversion is the consequence of suffering.

duḥkha - suffering, pain, sorrowfulanuśayin - following upon, connected with as a consequencedveṣa - aversion, hatred. dislike, repugnance

Commentaries and Reflections

T Krishnamacharya:

What is unpleasant is not desired.
The response of the mind is then to move away from it.
Whether in fact such a step did prevent Duḥkha is not immediately evident.

Paul Harvey:

Dveṣa is the consequence
of Duḥkha from such as,
getting what you are not expecting or,
getting other than what you are expecting.”