Sri Ashtavakra says - Give up the enemies, desires and money, the primary cause of many misfortunes. Rejecting these two will lead to righteousness and thus be indifferent to everything.
The essential nature of bondage is nothing other than desire, and its elimination is known as liberation. It is simply by not being attached to changing things that the everlasting joy of attainment is reached.
त्वमेकश्चेतनः शुद्धो जडं विश्वमसत्तथा। अविद्यापि न किंचित्सा का बुभुत्सा तथापि ते॥१०- ५॥
You are one (without a second), conscious and pure and this world is non-conscious and illusory. You don't have a trace of ignorance and desire to know.