Hannah had been greatly afflicted. She humbled herself before the Lord by his grace, and now the Lord had exalted her in giving her a son. Hannah's resulting prayer takes us through the grace our Lord accomplishes in all his people through Jesus Christ. This prayer boasts in Christ alone for all our salvation.