Renunciation of all attachments is the highest means to achieve liberation. It is through knowledge that we can achieve renunciation and become free.
Hindu
Janaka
Janaka was the revered philosopher-king of Videha-Mithila, celebrated in Hindu tradition as the ideal ruler of inner detachment, the father of Sita, and a seeker whose dialogues with the great sages illumine the nature of the Self.
Janaka holds a singular and beloved place in the Hindu tradition as the philosopher-king of Videha, whose capital was the ancient city of Mithila. He is remembered across the great currents of Indian sacred literature — the Vedic texts, the Upanishads, the Ramayana, and the wisdom dialogues such as the Ashtavakra Gita — as a sovereign who wore his crown lightly, ruling a flourishing kingdom while remaining inwardly free of attachment to it. In this rare union of worldly responsibility and spiritual realization, he became, and remains, an enduring ideal: the awakened soul living fully amid the affairs of the world. In the Vedic literature, including the Shatapatha Brahmana and the Brihadaranyaka Upanishad, Janaka appears as a great patron of learning whose court was a gathering place for the most luminous sages of the age. There assembled teachers such as Yajnavalkya, Uddalaka Aruni, and the wise woman Gargi Vachaknavi, and under Janaka's encouragement Videha became a renowned center of philosophy and Vedic culture. The king did not content himself with sponsoring the search for truth; he entered into it himself with earnest devotion. In the celebrated dialogues of the Brihadaranyaka Upanishad, Janaka questions the sage Yajnavalkya about the nature of the Self (atman) and the supreme reality (Brahman), pressing ever deeper until the teaching of liberation is unfolded. So profound was his gratitude for this knowledge that he offered the sage vast wealth and even his own kingdom in return — a gesture that beautifully expresses the tradition's teaching that the inner light is the treasure beyond all earthly treasures. Janaka's name became almost a synonym for the realized householder, the one who acts without being bound by action. His honorific title, drawn from his kingdom Videha, came to carry the deeper meaning of one who lives 'free of the body's bondage' — present in the world yet unentangled by it. This is the spirit captured in the Ashtavakra Gita, the luminous dialogue between Janaka and the young sage Ashtavakra. There the king receives the teaching of pure awareness and self-realization, and his swift, joyful awakening stands as one of the most cherished portraits in all of Indian spiritual literature of a soul ripe for liberation. His conversations with other sages, including those preserved in the Parashara Gita, similarly present him as a king whose true sovereignty lay in self-mastery and serene wisdom. In the Ramayana, Janaka shines as a figure of gentleness, dignity, and grace. The tradition tells that while preparing the ground for a sacred rite, he discovered an infant girl in the furrow of the earth, and he raised her with tender love as his daughter Sita, along with Urmila. When Sita came of age, Janaka held a great svayamvara, a gathering at which the noble Rama of Ayodhya fulfilled the appointed test and won her hand, joining the two righteous houses in a union honored ever after as a model of dharma. Throughout the epic Janaka remains a steady presence of counsel and goodwill, supporting efforts toward harmony and reconciliation, and he is remembered as a king whose household radiated devotion, hospitality, and virtue. The legacy of Janaka has flowed undiminished into the living devotion and philosophy of later ages. Teachers of the Vedanta and the path of selfless action have long invoked him as the supreme example of the karma-yogi — the one who carries out every duty with full attention and energy while remaining inwardly anchored in the Self, untouched by gain or loss. Across centuries, seekers have drawn courage from his example: that one need not flee the world to find the eternal, and that the highest freedom can be realized in the midst of life's responsibilities when the heart rests in truth. In Janaka, the Hindu tradition celebrates the marriage of wisdom and action, of kingship and renunciation, of fatherly love and boundless spiritual yearning — a radiant reminder that the door to liberation stands open to all who seek it with a sincere and devoted heart.
Wisdom
Free from attachments, with my soul fixed on the supreme Brahma, and unaffected by the company of others, I lived, following the threefold path prescribed in the treatises on liberation.
There is a mention of a verse sung by Janaka, who was free from the pairs of opposites, liberated from desire and pleasure, and followed the path of liberation. The verse says: 'My treasures are vast, yet I have nothing!'
By understanding the self, one can transcend both joy and sorrow. This understanding enables one to overcome death and achieve great success.
Neither your renunciation nor my royal status can help or hinder our liberation. Both of us can attain our goals through knowledge, regardless of our external circumstances.
Concerning this, there are the following verses: 'The subtle, ancient path that stretches far has been reached by me; indeed, I have realized it myself.'
Janaka said, You have said that unity is the attribute of the indestructible and variety is the attribute of the destructible.
After being invested with the sacred thread, one should devote themselves to studying the Vedas, practice penances, serve their preceptor, and observe their duties.
One should live in the domestic mode, have children and grandchildren, then retire to the forest, continue to worship the same fires, and entertain guests with hospitality.
Without the help of an understanding cleansed by studying scriptures and without a true conception of all things, known as Vijnana, attaining Emancipation is impossible.
Janaka said, 'Although I have a large territory under my rule within my ancestral kingdom, I still can't find my true dominion. I searched the entire Earth but couldn't find it. I then searched in Mithila, and when I couldn't find it there, I searched among my own children.
Their ancestor, Janaka, the king of Mithila, seeing his city burn, declared,
Your loving inquiry itself, O lord, has proven beneficial for our well-being, holy father.