In the Ramayana, as they are on their way to Agastya’s ashrama, Rama tells his brother Lakshmana how Agastya intent upon the good of the world, overpowered deadly demon, thereby rendered the earth habitable.