As a young man, Valmiki searched through the world seeking open friendship and happiness and hope and finding none of these he went alone into the empty forest where no man lived, to as spot where the Tamasa River flows into Ganga. There he sat for years without moving, so still that white ants built an anthill over him. There Valmiki sat inside that anthill for thousands of years with only his eyes showing out, trying to find the True, his hands folded and his mind lost in contemplation.
In p. 5. - Ramayana