The legend of the goddess Jagaddhatri is found in the Kena Upanishad and the Katyayani Tantra. After the goddess Durga killed Mahishasura, the gods of Svarga forgot about her powers. So, in order to test them and teach them a lesson, Parvati appeared before Agni, Vayu, Varuna, and Chandra, who considered themselves invincible and were engulfed by a false sense of pride in themselves, ahamkara, the infallible ego. She asked them to take out and move a tiny blade of grass. Vayu failed to pluck it, and Agni failed to burn it. One by one, every god tried but failed to do the task. In the end, they understood that Devi is the source of all forms of power in the universe, and even theirs belonged to her. The Devas realized their misgivings and the goddess appeared before them as Uma, riding on a lion. The goddess gave the ego of the Devas, the form of an elephant. That is why Goddess Jagaddhatri is depicted sitting on a lion with an elephant under her. The elephant, symbolizing ahamkara, lies under the fierce paws of here vahana, the majestic lion, who symbolises courage, valour and the strength to overcome any challenges, including one's internal struggles with the Shada Ripus (meaning the six enemies).
<a href="//commons.wikimedia.org/wiki/User:Goutam1962" title="User:Goutam1962">Goutam1962</a>
CC BY-SA 4.0
<span class="int-own-work" lang="en">Own work</span>