Hannah had asked Yahweh for a baby and promised him that she would give the baby to serve in the temple.