Sri Vasista
Thinking thus king Janaka was doing whatever came to him in a dispassionate manner like Sun who goes though his daily duties.
He was like one who was asleep to what was awake (and living), performing works that occured to him with a mind that is bereft of vasanas and devoid of any likes and dislikes.
After finishing all daily duties and worshipping wise people, one night in autumn he was engaged in meditation during the night.
Getting the mind to a state of equilibrium, pacifying all orientations towards sensual objects, he exhorted his mind to awareness during the dying moments of night.
O mind (of sensuous thinking), there is no joy for me in this unstable, shaky mutable world. Peace and joy can be gained only from the divine quiet.
As the modificatory resolutions and determines take birth in you, accordingly this world-sense spreads wide in you.
A forest increases thousand fold during rainy season (due to vast availability of water.) In the same way you shall be subject to untold miseries and diseases due to desires for pleasures.
The dalliance and sport of thoughts is responsible for all infinite creations. And so discard all thinking and move towards quieting all thinking.
O mind, put this unstable world and peace in balance. Whatever looks charming to you, take refuge in it.
Give up all inclinations towards indulgence in the visible scenes (world) and move about in all freedom.
O gentle mind, all phenomena, whether real or unreal, move towards vexatious pain and misery depending on their qualities.
O mind, there is no relationship with phenomenon to you. (In fact) how can there be a relationship with something that is nonexistent?
You are in fact non existent. Suprisingly you are considered both existing and non existing. Strange are words (which try to describe somethings)
Even if you are both real and unreal, how can there be association between the two (opposites)? How can you be both living and dead?
O mind, if you and phenomenon are real and existing always together, where is the question of joy and grief?
O mind, you are drowned in a turbulent sea and are leaving aside the great sea of peace. Be liberated from this state.
Do not burn yourself away like a torch. Do not indulge in infatuation and delusion. You will become dull.
There is nothing here which is lofty and perfect. Move towards that high state with courage and determination, discarding all shakiness and stupidity.