The works of Ādi Śaṅkarācārya

Chāndogyopaniṣadbhāṣyam

Verse 384

यं यमन्तमभिकामो भवति यं कामंकामयते सोऽस्य संकल्पादेव समुत्तिष्ठतितेन संपन्नो महीयते ॥ १० ॥

In plain words

Whichever realm he longs for, whichever object of desire he desires, it arises for him through mere resolve. Fulfilled by that attainment, he rejoices.

Close to the Sanskrit

Whichever end he longs for, whichever desire he desires, that of him from resolve alone arises. By that fulfilled he rejoices.