Hagar mocked Sarah in mourning for being baren, but her tears in the desert were forceful enough to gain God’s attention. Her descendant, the muslim ishmaelites, will use their crying the same way to get the UN to attack Israel. It is the prophecy.
G-d had a plan for Ishmael from the getgo until the present. The ending won’t necessarily be to their liking.