The Israelite slaves cried out for help, and their cry rose up to God. God heard their continual groaning and remembered his covenant promise. He looked down and knew it was time to act (from Exodus 2:23-25).
God still hears when people pray. I cry out in my distress and the Lord hears my voice (Psalm 55:17).