"And now, behold, the cry of the children of Israel has come unto Me, and I have also seen the oppression <with which the Egyptians oppress them>" (Exodus 3:9). This teaches that the Holy One, blessed be He, was looking at the Egyptians, at how they were enslaving Israel, as it is said, "Behold, the cry of the children of Israel has come unto Me, and I have also seen the oppression." As it were, I am with them. "<The oppression> with which the Egyptians oppress them" — "and I have come down to deliver him" (ibid., verse 8).
God Sees Egypt's Oppression and Descends to Rescue Israel
Midrash Tanchuma Buber, Shemot 17:1
ועתה הנה צעקת בני ישראל באה אלי וגם ראיתי את הלחץ וגו' (שמות ג ט) מלמד שהיה הקב"ה מביט במצרים היאך היו משעבדין בישראל, שנאמר הנה צעקת בני ישראל באה אלי וגם ראיתי את הלץ וגו', כביכול אני עמהם, אשר מצרים לוחצים אותם, וארד להצילו (שם שם ח).