In Genesis 16 we see Sarai struggling to believe the promises of God. Through her own plotting and planning she takes attempts to take control away from God and provide an heir through Hagar. That child then becomes a reminder to Sarai and Abram that God does in fact see their pain and hears their distress.