At that moment Ishmael was pious indeed, for he was praying to God in the following words: "O Lord of the world! If it be Thy will that I shall perish, then let me die in some other way, not by thirst, for the tortures of thirst are great beyond all others." Hagar, instead of praying to God, addressed her supplications to the idols of her youth. The prayer of Ishmael was acceptable before God, and He bade Miriam's well spring up, the well created in the twilight of the sixth day of creation.

Even after this miracle Hagar's faith was no stronger than before. She filled the bottle with water, because she feared it might again be spent, and no other would be nigh. Thereupon she journeyed to Egypt with her son, for "Throw the stick into the air as thou wilt, it will always land on its point." Hagar had come from Egypt, and to Egypt she returned, to choose a wife for her son.