Dude, they took it further than that. They literally had a fucking ranking system.
Rathi: They could take on an army of 5,000 by themselves, and were still bottom-tier. Essentially, the Hindi Yamchas to the Gokus and Vegetas (Karna and Arjuna).
Atirathi: Could take 12 Rathi-tier fighters, and an army of 60,000.
Maharathi: Could take 12 Atirathi-tier fighters, and an army of 720,000. This is also where Karna, Arjuna, and Rama were by the way (though Karna is actually equal to two Maharathi).
Atimaharathi: Could take on 12 Maharathi, and who could use all of Trimurti's ultimate-omega-ultimate trinity weapons. There are only two: Parasurama the sixth avatar of Vishnu, and Indrajit the son of Ravana who kicked Rama's ass twice, and who Rama's brother had to use hax to beat, because Indrajit was OP even by Hindu mythology standards.
Mahamaharathi: God-tier. Literally. Brahma, Vishnu, Shiva, Durga, Ganesha, and Kartikeya are here.
If Journey to the West is the main inspiration for Dragon Ball, Hindu mythology is the main inspiration for Dragon Ball Z and everything that came after it.