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

Sanatsujātīyam

p. 209

p. 209

सिद्धे चात्मनि निर्दुःखी पूर्वबोधो भविष्यति ।

In plain words

And once the ātman stands established, that earlier knowing will be sorrow-free.

Close to the Sanskrit

And when the Self is established, the prior awakening will be free of sorrow.