In the course of those many days, the king of Egypt died, and the children of Israel sighed because of the bondage, and they cried, and their cry came up to God because of the bondage. God heard their groaning, and God remembered his covenant with Abraham, with Isaac, and with Jacob. God saw the children of Israel, and God understood.Exodus 2:23–25 · World English Bible
Read in context
Exodus 2:21–25
Moses was content to dwell with the man. He gave Moses Zipporah, his daughter. She bore a son, and he named him Gershom, for he said, “I have lived as a foreigner in a foreign land.” In the course of those many days, the king of Egypt died, and the children of Israel sighed because of the bondage, and they cried, and their cry came up to God because of the bondage. God heard their groaning, and God remembered his covenant with Abraham, with Isaac, and with Jacob. God saw the children of Israel, and God understood.
Context note · editorial
The Israelites continue to groan under slavery even after Egypt's king dies. God hears, remembers the covenant, and sees their condition as the Exodus narrative turns toward their deliverance.
Read the source ↗