Ashtavakara Gita

Liberation is when the mind does not long for anything, grieve about anything, reject anything, or hold on to anything, and is not pleased about anything or displeased about anything.