During birth of Jesus, all the babies born were ardered to be killed by the king.
Moses led people eastward and during the journey he was caught between devil( the army of the king) and deep sea(red sea). In order for them to cross and escape and proceed God divided the waters and let the people walk through and then closed it again.
His faithful follower Joshua inherited that talent as well.
|Pic from here|
Vasudev: During birth of Krishna, all the babies born were ordered to be killed by the king Kamsa- Vasudev's brother-in-law.
Just like the divine voice that advised Joesph to accept virgin mom Mary, Vasudev also heard divine voice saying "Take this child across the Yamuna River to Gokul and exchange him with Yashoda’s daughter. You will return to the prison before anyone comes to know about the birth of this child."
And in order to save the baby from getting killed, Vasudev carried the baby Krishna in a basket on top of his head and when he had to cross the flooded river Yamuna.
And it was quite flooded that time and yet the water parted and gave Vasudev way to proceed with the baby and the fiveheaded snake acted as an umbrella and prottected the baby from getting wet.
Vasudev reached the opposite bank of the river safely and found all the people of Gokul fast asleep.
He entered the palace of king Nanda and queen Yashoda, and put the baby Krishna in the place of Yashoda’s baby girl. Then Vasudev returned to the prison with the baby girl.
Moral of the story : The world's best invention to me is paternity/DNA testing. Think about all the these old wives tales.