Ashtavakra Gita - Chapter: 8
Ashtavakra: Bondage is when the mind longs for something, grieves about something, rejects something, holds on to something, is pleased about something or displeased about something.
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.
Bondage is when the mind is tangled in one of the senses, and liberation is when the mind is not tangled in any of the senses.
When there is no me that is liberation, and when there is me there is bondage. Consider this carefully, and neither hold on nor reject.