Abraham sent Hagar and Ishmael away into the wilderness of Beersheba with a skin bag of water, Ishmael was about 20 years of age, he was grown up and he and his mother could have been for days in the wilderness before the bag was empty.
They were exhausted and they both wept. Hagar wept, but God heard the voice of Ishmael. Hagar was not of Abraham, and should never have been his wife, but Ishmael was a descendant of Abraham, he was of Abraham and because of Abraham God cared for Ishmael.
An angel called Hagar from heaven and told her not to be afraid and to take Ishmael by his hand and help him up, Hagar did exactly what the angel told her, and then she saw a well with fresh running water, God saved them because of the boy, not her. God blessed them and Ishmael became an archer and Hagar coming from Egypt went there and fetched a wife for his son.