Patanjali introduces yoga with Yogaś citta-vṛtti-nirodhaḥ—often understood as the settling of the mind's restless movements. This is not a demand to erase thoughts. It is an invitation to meet them without being pulled in every direction.
Postures, breath, reflection, and meditation are different doorways into that steadier attention. The shape of a pose is never the whole point; practice becomes useful when it changes how you relate to body, mind, and other people.